[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 (was: Problem with libpng version while installing Geany)

MacPorts noreply at macports.org
Sat Mar 28 16:43:33 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 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.

-- 
Ticket URL: <http://trac.macports.org/ticket/19012#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list