artemp/mapnik — Issue #723: mapnik-config -L reporting
Author: artemp
Created: 2011-10-11 16:33:37+00:00
State: open
Labels: Core_Library

libcairo for me is in /usr/X11/lib but mapnik-config does not report it:

{{{
#!sh
$ mapnik-config --libs
-L/usr/local/lib -lmapnik2 -L/Library/Frameworks/GDAL.framework/unix/lib -L/usr/local/pgsql/lib -L/usr/local/lib -L/usr/lib -lfreetype -licuuc -lboost_filesystem -lboost_regex -lboost_thread -lboost_system -lcairomm-1.0 -lcairo
}}}

{{{
$ otool -L /usr/local/lib/libmapnik2.dylib
/usr/local/lib/libmapnik2.dylib:
/usr/local/lib/libmapnik2.dylib (compatibility version 2.0.0, current version 2.0.0)
/usr/local/lib/libfreetype.6.dylib (compatibility version 13.0.0, current version 13.1.0)
/usr/local/lib/libltdl.7.dylib (compatibility version 11.0.0, current version 11.0.0)
/usr/local/Cellar/libpng/1.2.44/lib/libpng12.0.dylib (compatibility version 45.0.0, current version 45.0.0)
/usr/local/Cellar/libtiff/3.9.4/lib/libtiff.3.dylib (compatibility version 13.0.0, current version 13.4.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
/usr/local/Cellar/jpeg/8b/lib/libjpeg.8.dylib (compatibility version 9.0.0, current version 9.2.0)
/usr/local/Cellar/proj/4.7.0/lib/libproj.0.dylib (compatibility version 7.0.0, current version 7.6.0)
/usr/local/Cellar/icu4c/4.4.1/lib/libicuuc.44.1.dylib (compatibility version 44.0.0, current version 44.1.0)
libboost_filesystem.dylib (compatibility version 0.0.0, current version 0.0.0)
libboost_regex.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/local/Cellar/cairomm/1.8.4/lib/libcairomm-1.0.1.dylib (compatibility version 6.0.0, current version 6.0.0)
/usr/X11/lib/libcairo.2.dylib (compatibility version 10803.0.0, current version 10803.6.0)
/usr/lib/libxml2.2.dylib (compatibility version 10.0.0, current version 10.3.0)
libboost_thread.dylib (compatibility version 0.0.0, current version 0.0.0)
libboost_system.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.1)

}}}