[gdal-dev] python gdal installation issues
Roger André
randre at gmail.com
Wed Jul 8 13:48:00 EDT 2009
try adding the path to libgdal.so.1 in /etc/ld.so.conf
$ find /usr -name libgdal.so.1
/usr/local/lib/libgdal.so.1
$ sudo vi /etc/ld.so.conf
--> add
/usr/local/lib
$ ldconfig
$ /sbin/ldconfig -p | grep gdal
libgdal.so.1 (libc6) => /usr/local/lib/libgdal.so.1
libgdal.so (libc6) => /usr/local/lib/libgdal.so
--
On Wed, Jun 10, 2009 at 2:47 PM, Benjamin R Welton <
benjamin.r.welton at wmich.edu> wrote:
> Hey all,
>
> Im having a bit of an issue using the python gdal api's. I keep getting
> an error in python saying that it is unable to find libgdal.so.1. I am not
> having any issues using the various gdal binaries however (gdalinfo works).
> i looked at PYPI and changed the gdal-config location setting in the
> setup.cfg file which allowed me to install the python module but when i
> attempt to use it i get the libgdal.so.1 file missing error.
>
> Anyone know of a way to fix this issue? I am compiling gdal from source
> on CentOS 5.1 using python 2.4.3.
>
> Thanks,
> Ben
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090708/98d82348/attachment.html
More information about the gdal-dev
mailing list