Hi,<br><br>I am having trouble running GDAL&#39;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 &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.<br>&gt;&gt;&gt; from osgeo import gdal<br>Traceback (most recent call last):<br>  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>
  File &quot;/usr/local/lib/python2.6/dist-packages/GDAL-1.6.0-py2.6-linux-x86_64.egg/osgeo/__init__.py&quot;, line 4, in &lt;module&gt;<br>    import _gdal<br>ImportError: libgdal.so.1: cannot open shared object file: No such file or directory<br>
&gt;&gt;&gt; import gdal<br>Traceback (most recent call last):<br>  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>  File &quot;/usr/local/lib/python2.6/dist-packages/GDAL-1.6.0-py2.6-linux-x86_64.egg/gdal.py&quot;, line 2, in &lt;module&gt;<br>
    from osgeo.gdal import deprecation_warn<br>  File &quot;/usr/local/lib/python2.6/dist-packages/GDAL-1.6.0-py2.6-linux-x86_64.egg/osgeo/__init__.py&quot;, line 4, in &lt;module&gt;<br>    import _gdal<br>ImportError: libgdal.so.1: cannot open shared object file: No such file or directory<br>
&gt;&gt;&gt; <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>