[Gdal-dev] Compile error on 1.2.5

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Tue Dec 21 16:31:46 EST 2004


Hi,

I'm trying to build gdal 1.2.5.  Particulars:

Linux <somehost> 2.6.9-1.6_FC2 #1 Thu Nov 18 22:03:19 EST 2004 i686 i686
i386 GNU/Linux

  $ ./configure --with-png=/usr/local/src/libpng/libpng-1.2.8-config
--with-libtiff=internal --with- geotiff=internal
--with-jpeg=/usr/local/src/libjpeg/jpeg-6b --with-xerces


  $ make
...
  $ make install
...


Now when I try to something like gdalinfo, etc., I get:

# which gdalinfo
/usr/local/bin/gdalinfo
# gdalinfo
gdalinfo: error while loading shared libraries: libxerces-c.so.26:
cannot open shared object file: No such file or directory
# ogrinfo
ogrinfo: error while loading shared libraries: libxerces-c.so.26: cannot
open shared object file: No such file or directory

Yet, this file is present:

# ls -l /usr/local/lib/libxerces-c.so.26
lrwxrwxrwx  1 root root 19 Dec 21 14:32 /usr/local/lib/libxerces-c.so.26
-> libxerces-c.so.26.0
# ls -lL /usr/local/lib/libxerces-c.so.26
-rwxr-xr-x  1 root root 4119623 Dec 21 11:28
/usr/local/lib/libxerces-c.so.26
#

Any suggestions?

Thanks alot

..Tom



More information about the Gdal-dev mailing list