Re: ERROR: function LockSemaphoreInfo, file magick/semaphore.c, line 525

Bob Friesenhahn <[email protected]> Mon, 29 Mar 2010 16:58:54 -0500 (CDT)
Newsgroups gmane.comp.video.graphicsmagick.bugs
Message-ID <[email protected]>
On Mon, 29 Mar 2010, Ron Lussier wrote:
> 
> I get:
>       trotter /opt/jagundi/devtools > gm convert -list formats | grep PNG
>
>             PNG P  rw-  Portable Network Graphics (libpng 1.4.1,1.2.41, zlib 1.2.3)
>
>                   See http://www.libpng.org/ for information on PNG..
>     PNG24 P  rw-  24-bit RGB PNG, opaque only (libpng 1.4.1,1.2.41, zlib 1.2.3)
>     PNG32 P  rw-  32-bit RGBA PNG, semitransparency OK (libpng 1.4.1,1.2.41, zlib 1.2.3)
>      PNG8 P  rw-  8-bit indexed PNG, binary transparency only (libpng 1.4.1,1.2.41, zlib 1.2.3)
> 
> 
> I'm not sure why I'm getting the double-libraries.  I uninstalled libpng and installed an earlier version (1.2.39):

That is really interesting.  From looking at the png.c code, I see 
that first a PNG_LIBPNG_VER_STRING from the PNG header files is 
consulted, and then png_get_libpng_ver() is used to get the actual 
(maybe shared) library version.  My guess is that your libpng header 
files don't match the library version which was used.  It seems that 
newer headers were used, but the linkage was against an older libpng. 
This may indicate a problem with the linker search options.

>             PNG P  rw-  Portable Network Graphics (libpng 1.2.39,1.2.41, zlib 1.2.3)

It seems that even here, there are two different libpng versions 
involved.

If Glenn is paying attention, maybe he can shed some light on this.

Bob
--
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

_______________________________________________
Graphicsmagick-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-bugs