[Gdal-dev] Compile error on 1.2.5

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


> Kralidis,Tom [Burlington] wrote:
> > # 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
> 
> Is this a new version of libxerces-c.so.26 that you just 
> installed? You 
> may need to run /sbin/ldconfig to update the runtime lib cache. (Also 
> make sure /usr/local/bin is in the /etc/ld.so.conf before you run it.)
> 

Yup, this worked.  Thanks.  I assumed (you know what happens when you
assume) that /sbin/ldconfig only gets run when a new entry is made in
/etc/ld.so.conf.

At any rate, it works now.  When I peruse /usr/local/lib, I find this
hanging around:

-rwxr-xr-x   1 root root 3486188 Jun 16  2004 libgdal.so.1.2.0*

...which is from gdal-1.2.0b.  Is it safe to blow this away?

..Tom



More information about the Gdal-dev mailing list