[gdal-dev] How to indicate different location for specific libs ? RGDAL

Eduardo Almeida Costa eacosta at uesc.br
Wed Jan 22 06:21:25 PST 2020


How to indicate different location for specific libs for rgdal?
I have libgif.so.4 in a different location.

/usr/bin/ld: warning: libgif.so.4, needed by
/home/helder.almeida/local/gnu/gdal/3.0.3/lib/libgdal.so, not found (try
using -rpath or -rpath-link)

I tried:
PKG_CPPFLAGS="-I/home/helder.almeida/local/gnu/giflib/5.2.1/include
-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H"
PKG_LIBS="-L/home/helder.almeida/local/gnu/giflib/5.2.1/lib -lgdal"
./configure

and I tried the LD_LIBRARY_PATH variable, but with no success.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200122/3d64eee2/attachment.html>


More information about the gdal-dev mailing list