Ahh, just forgot

$ ldconfig /usr/local/lib

sorry for the noise...

Flo


On 05/26/2011 01:53 PM, Flo Ledermann wrote:
> Hi all,
> 
> I am trying to compile Mapnik with my own locally built version of GDAL
> (I ran into the issue of mismatching LibTIFF versions and found this
> discussion about it on the IRC logs
> http://mapnik.dbsgeo.com/mapnik_logs/2011/02/25/ , so I decided to try
> to go down the route of building everything myself to sort out
> dependency versions)
> 
> I've put
> 
> GDAL_CONFIG = '/usr/local/bin/gdal-config'
> 
> in config.py, and on the commandline this gives me the correct output
> for library paths:
> 
> $ /usr/local/bin/gdal-config --libs
> -L/usr/local/lib -lgdal
> 
> However, when I run scons configure I get:
> 
> Checking for gdal-config --libs... yes
> Checking for gdal-config --cflags... yes
> Checking for name of gdal library... gdal
> Checking if gdal is ogr enabled... yes
> Checking for name of ogr library... gdal
> [...]
> All Required dependencies found!
> [...]
> .sconf_temp/conftest_31: error while loading shared libraries:
> libgdal.so.1: cannot open shared object file: No such file or directory
> Problem encountered parsing mapnik version, falling back to [2, 0, 0]
> 
> 
> And if I continue with the build I end up without the GDAL plugin.
> 
> There is a libgdal.so.1 in my /usr/local/lib (symlink to
> libgdal.so.1.15.0), so I guess somehow the correct path is not picked
> up... Unfortunately I don't have experience with scons, so I am not sure
> how I can debug this (tried the --debug=findlibs option but this
> wouldn't give me any info). Any hints?
> 
> Best,
> 
> Flo
> 
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to