Opened 15 years ago
Closed 8 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 , 15 years ago
comment:2 by , 15 years ago
This is on a freshly installed Ubuntu Karmic virtual machine using the UbuntuGIS unstable PPA.
comment:4 by , 8 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Apparently nobody handles Trac tickets any more, closing this ancient issue.
The 18773_2.KAP file is currently at http://torsion.org/witten/18773_2.KAP