Hi,<br><br>I am having trouble running GDAL's Python bindings. I compiled the trunk with the option --with-python. Below is some output from my command line. I am running this on a newly installed system. It has only 2.6 version of Python and python-setuptools.<br>
<br>----------------------------------<br>ubuntu@ubuntu:~/gdal/2270/trunk/gdal$ export PYTHONPATH=/usr/local/<br>ubuntu@ubuntu:~/gdal/2270/trunk/gdal$ python<br>Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18) <br>[GCC 4.3.3] on linux2<br>
Type "help", "copyright", "credits" or "license" for more information.<br>>>> from osgeo import gdal<br>Traceback (most recent call last):<br> File "<stdin>", line 1, in <module><br>
File "/usr/local/lib/python2.6/dist-packages/GDAL-1.6.0-py2.6-linux-x86_64.egg/osgeo/__init__.py", line 4, in <module><br> import _gdal<br>ImportError: libgdal.so.1: cannot open shared object file: No such file or directory<br>
>>> import gdal<br>Traceback (most recent call last):<br> File "<stdin>", line 1, in <module><br> File "/usr/local/lib/python2.6/dist-packages/GDAL-1.6.0-py2.6-linux-x86_64.egg/gdal.py", line 2, in <module><br>
from osgeo.gdal import deprecation_warn<br> File "/usr/local/lib/python2.6/dist-packages/GDAL-1.6.0-py2.6-linux-x86_64.egg/osgeo/__init__.py", line 4, in <module><br> import _gdal<br>ImportError: libgdal.so.1: cannot open shared object file: No such file or directory<br>
>>> <br>ubuntu@ubuntu:~/gdal/2270/trunk/gdal$ ls /usr/local/lib/<br>libgdal.a <a href="http://libgdal.la">libgdal.la</a> libgdal.so libgdal.so.1 libgdal.so.1.13.0 python2.6<br>ubuntu@ubuntu:~/gdal/2270/trunk/gdal$ <br>
----------------------------------<br><br>Thank you.<br>-- <br>Chaitanya kumar CH.<br><br>