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.
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to