Skip to content
Prev 24267 / 29559 Next

still having trouble with rgdal, please

On Thu, 14 Apr 2016, Hodgess, Erin wrote:

            
Please read:

http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html

and note that while you as non-super-user cannot use ldconfig to tell the 
system to look in the right place for libgdal.so (it was found during 
compilation and linking), you can set the environment 
variable LD_LIBRARY_PATH despite the weaknesses that this has compared to 
using ldconfig as super user. Running Sys.getenv("LD_LIBRARY_PATH") in R 
shows you that R sets it up for its own purposes anyway (mostly for the 
Java runtime engine).

Hope this helps,

Roger