Re: Gdal on slackware

"J.J.Green" <[email protected]>
Newsgroups gmane.comp.gis.freegis
Message-ID <[email protected]>
Hi Tomas

> When I try to run ogr2ogr I get "ogr2ogr: error while loading shared
> libraries: libgdal.so.1: cannot open shared object file: No such file or
> directory".
>
> I got them at:
>
> /usr/local/lib/libgdal.a
> /usr/local/lib/libgdal.la
> /usr/local/lib/libgdal.so

You need to tell your OS to use shared libraries
from /usr/local/lib, many do not since it might be
a security risk. On debian add the directory to
/etc/ld.so.conf and run ldconfig -- other unicies
may vary: check ldconfig(1)

-j
-- 
J.J. Green, Dept. Applied Mathematics, Hicks Bld.,
University of Sheffield, UK.   +44 (0114) 222 3742
http://pdfb.wiredworkplace.net/pub/jjg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.