[MacPorts] #17578: gdal links with libraries it doesn't declare dependencies on

MacPorts noreply at macports.org
Mon Dec 8 00:11:43 PST 2008


#17578: gdal links with libraries it doesn't declare dependencies on
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  seanasy@…        
     Type:  defect                   |      Status:  new              
 Priority:  Normal                   |   Milestone:  Port Bugs        
Component:  ports                    |     Version:  1.7.0            
 Keywords:                           |        Port:  gdal             
-------------------------------------+--------------------------------------
 gdal links with many libraries that it doesn't declare dependencies on.

 It declares dependencies on proj, jpeg, tiff, libgeotiff, zlib, libpng,
 and giflib. However:

 {{{
 $ otool -L   /mp/lib/libgdal.1.dylib
 /mp/lib/libgdal.1.dylib:
         /mp/lib/libgdal.1.dylib (compatibility version 14.0.0, current
 version 14.1.0)
         /mp/lib/libproj.0.dylib (compatibility version 6.0.0, current
 version 6.4.0)
         /mp/lib/libgeos_c.1.dylib (compatibility version 6.0.0, current
 version 6.2.0)
         /mp/lib/libgeos-3.0.3.dylib (compatibility version 0.0.0, current
 version 0.0.0)
         /mp/lib/libsqlite3.0.dylib (compatibility version 9.0.0, current
 version 9.6.0)
         /mp/lib/libjasper.1.dylib (compatibility version 2.0.0, current
 version 2.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 88.3.10)
         /mp/lib/libgif.4.dylib (compatibility version 6.0.0, current
 version 6.6.0)
         /usr/X11R6/lib/libSM.6.dylib (compatibility version 6.0.0, current
 version 6.0.0)
         /usr/X11R6/lib/libICE.6.dylib (compatibility version 6.3.0,
 current version 6.3.0)
         /mp/lib/libX11.6.dylib (compatibility version 9.0.0, current
 version 9.0.0)
         /mp/lib/libgeotiff.1.2.1.dylib (compatibility version 1.2.1,
 current version 0.0.0)
         /mp/lib/libtiff.3.dylib (compatibility version 12.0.0, current
 version 12.2.0)
         /mp/lib/libjpeg.62.dylib (compatibility version 63.0.0, current
 version 63.0.0)
         /mp/lib/libpng12.0.dylib (compatibility version 34.0.0, current
 version 34.0.0)
         /mp/lib/libcurl.4.dylib (compatibility version 6.0.0, current
 version 6.1.0)
         /mp/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current
 version 0.9.8)
         /mp/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8,
 current version 0.9.8)
         /mp/lib/libz.1.dylib (compatibility version 1.0.0, current version
 1.2.3)
         /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
 version 7.4.0)
         /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
 version 1.0.0)
 }}}

 As you see, it links with those and also X11, openssl, curl, jasper,
 sqlite3 (even if you don't select the +sqlite3 variant), geos (even if you
 don't select the +geos variant)...

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


More information about the macports-tickets mailing list