Opened 11 years ago

Closed 4 years ago

#2 closed enhancement (invalid)

Python GDAL can't find

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


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 (, 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/ /usr/lib/

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

Change History (4)

comment:1 Changed 11 years ago by dhelfman

The 18773_2.KAP file is currently at

comment:2 Changed 11 years ago by dhelfman

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

comment:3 Changed 11 years ago by aboudreault

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

comment:4 Changed 4 years ago by Bas Couwenberg

Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.