[Freegis-list] Gdal on slackware

J.J.Green j.j.green at sheffield.ac.uk
Mon Oct 23 22:00:41 CEST 2006


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





More information about the Freegis-list mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)