Search code examples
rroracle

Unable to load package ROracle in R


So, I can't load ROracle.

I am indeed very new to this so any information is appreciated and any info regarding what further information to give would be helpful as well.

Warning: Error in : package or namespace load failed for ‘ROracle’ in dyn.load(file, DLLpath = DLLpath, ...):unable to load shared object '/usr/local/lib/R/site-library/ROracle/libs/ROracle.so': libclntsh.so.11.1: cannot open shared object file: No such file or directory

And for my Environmental variables I get

Sys.getenv("ORACLE_HOME") [1] "/usr/lib/oracle/12.2/client64/lib"

So I see I have version 12.1 but ROracle is looking for 11.1, what can I do?


Solution

  • Okay I had several .libPaths() and I had to install the package in every single Path. This has solved the problem.