try adding the path to libgdal.so.1 in /etc/ld.so.conf<br><br>$ find /usr -name libgdal.so.1<br>/usr/local/lib/libgdal.so.1<br><br>$ sudo vi /etc/ld.so.conf<br>--> add<br>/usr/local/lib<br><br>$ ldconfig<br><br>$ /sbin/ldconfig -p | grep gdal<br>
libgdal.so.1 (libc6) => /usr/local/lib/libgdal.so.1<br> libgdal.so (libc6) => /usr/local/lib/libgdal.so<br>--<br><br><br><br><div class="gmail_quote">On Wed, Jun 10, 2009 at 2:47 PM, Benjamin R Welton <span dir="ltr"><<a href="mailto:benjamin.r.welton@wmich.edu">benjamin.r.welton@wmich.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hey all,<br>
<br>
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.<br>
<br>
Anyone know of a way to fix this issue? I am compiling gdal from source on CentOS 5.1 using python 2.4.3.<br>
<br>
Thanks,<br>
Ben<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div><br>