[MacPorts] #19012: libpng: Incompatible library version: libgtk-x11-2.0.0.dylib requires version 36.0.0 or later, but libpng12.0.dylib provides version 33.0.0
MacPorts
noreply at macports.org
Mon Mar 30 00:58:07 PDT 2009
#19012: libpng: Incompatible library version: libgtk-x11-2.0.0.dylib requires
version 36.0.0 or later, but libpng12.0.dylib provides version 33.0.0
--------------------------------+-------------------------------------------
Reporter: kkazakov@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port: libpng
--------------------------------+-------------------------------------------
Comment(by kkazakov@…):
Replying to [comment:2 ryandesign@…]:
> MacPorts libpng 1.2.35 does provide libpng12.dylib version 36.0.0:
>
> {{{
> $ otool -L /opt/local/lib/libpng12.dylib
> /opt/local/lib/libpng12.dylib:
> /opt/local/lib/libpng12.0.dylib (compatibility version 36.0.0,
current version 36.0.0)
> /opt/local/lib/libz.1.dylib (compatibility version 1.0.0,
current version 1.2.3)
> /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.3.9)
> $
> }}}
>
> So, for some reason, libgtk is not using MacPorts libpng but some other
libpng. Some suggestions:
>
> * Where else do you have libpng on your hard drive -- perhaps you have
another copy in /usr/local or /sw? ("`locate libpng12.dylib`" can tell
you.) Try removing them.
> * Do you have the environment variable DYLD_LIBRARY_PATH set, thus
telling software to first look for libraries in another location? ("`env |
grep DYLD`" can tell you.) If so, try unsetting it.
I finally found out where the problem was. A friend of mine suggested to
use XQuartz http://xquartz.macosforge.org/trac/wiki instead of original
X11, shipped with Mac OS X. Tried installing MacPorts and Geany on a
machine with X11 from Apple, and it did worked great, geany is starting.
So - that's good to know. XQuartz was installed before compiling, but why
it was improperly linked ... can't tell.
--
Ticket URL: <http://trac.macports.org/ticket/19012#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list