[Gdal-dev] New 1.2.6 install breaks python scripts

Ken Boss Ken.Boss at dnr.state.mn.us
Mon Apr 4 18:02:58 EDT 2005


I've just done a fresh build and install of gdal-1.2.6 on a Solaris box
(installed to /usr/local/gdal-1.2.6).

Now, when I try to run an existing python script, I get:

Traceback (most recent call last):
  File "/usr/local/scripts/pixelPusher/gdal_mosaic.py", line 52, in ?
    import gdal
  File "/usr/local/lib/python2.1/site-packages/gdal.py", line 179, in
?
    import _gdal
ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error:
file /usr/local/gdal-1.2.6/lib/libgdal.so.1: symbol cerr: referenced
symbol not found

FWIW, /usr/local/scripts/pixelPusher/gdal_mosaic.py has been around for
a long time, and has not changed since the new install. 
/usr/local/lib/python2.1/site-packages/gdal.py appears from the
timestamp to have been installed today along with 1.2.6.  Same
(obviously) with /usr/local/gdal-1.2.6/lib/libgdal.so.1, which is a
symbolic link to /usr/local/gdal-1.2.6/lib/libgdal.so.1.7.0.

Can anyone help me sort out what I might be missing here?

Thanks,

--Ken



More information about the Gdal-dev mailing list