Re: ERROR: function LockSemaphoreInfo, file magick/semaphore.c, line 525
[email protected] Tue, 30 Mar 2010 00:46:25 +0000 (UTC)
| Newsgroups | gmane.comp.video.graphicsmagick.bugs |
|---|---|
| Message-ID | <1905848008.8114241269909985650.JavaMail.root@sz0023a.westchester.pa.mail.comcast.net> |
----- Original Message ----- From: "Bob Friesenhahn" <[email protected]> To: "Ron Lussier" <[email protected]> Cc: [email protected] Sent: Monday, March 29, 2010 5:58:54 PM GMT -05:00 US/Canada Eastern Subject: Re: [GM-bugs] ERROR: function LockSemaphoreInfo, file magick/semaphore.c, line 525 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. Yes. This may indicate a problem with the linker search options. Yes. > 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. This is not a problem, since 1.2.39 and 1.2.41 are ABI compatible. But 1.4.1,1.2.41 is a problem, since 1.4.x is incompatible with 1.2.x. Go ahead and reinstall 1.4.1, but then you must reconfigure and rebuild GraphicsMagick. Another libpng-1.2.41 seems to be lurking on your system (i.e., you did not succeed in uninstalling it) so you will need to use LDFLAGS to prevent that one from being used to satisfy the linker. Glenn 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® 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