Opened 14 years ago

Closed 7 years ago

#2 closed enhancement (invalid)

Python GDAL can't find libproj.so

Reported by: dhelfman Owned by: aboudreault
Component: GDAL Severity: important
Keywords: Cc:

Description

Install libgdal1-1.6.0 and python-gdal, then try running the following at the python interpreter prompt:

>>> from osgeo import gdal
>>> gdal.Open( "18773_2.KAP" )

(The 18773_2.KAP file is attached to this ticket.)

This results in the following error message:

ERROR 6: Unable to load PROJ.4 library (libproj.so), creation of OGRCoordinateTransformation failed.

Note that if I run the following command first, then the error message does not occur:

sudo ln -s /usr/lib/libproj.so.0 /usr/lib/libproj.so

The ldd command appears to indicate that /usr/lib/libgdal1.6.0.so.1 is linked against libproj.so.0 (rather than libproj.so), so I'm not sure what's going on.

Change History (4)

comment:1 by dhelfman, 14 years ago

The 18773_2.KAP file is currently at http://torsion.org/witten/18773_2.KAP

comment:2 by dhelfman, 14 years ago

This is on a freshly installed Ubuntu Karmic virtual machine using the UbuntuGIS unstable PPA.

comment:3 by aboudreault, 14 years ago

For the record, we think this is (again) a SWIG bug.

comment:4 by Bas Couwenberg, 7 years ago

Resolution: invalid
Status: newclosed

Apparently nobody handles Trac tickets any more, closing this ancient issue.

Note: See TracTickets for help on using tickets.