failing to load ROracle: unable to load shared object ROracle.so: libclntsh.so.11.1 No such file or directory

前端 未结 5 1644
-上瘾入骨i
-上瘾入骨i 2021-01-13 20:09

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.

5条回答
  •  情话喂你
    2021-01-13 20:16

    If you really really really want to do this within the R environment, you can load the specific library as follows:

    dyn.load("/usr/lib/oracle/11.2/client64/lib/libclntsh.so.11.1")
    library(ROracle)
    

    References:

    Setting LD_LIBRARY_PATH from inside R

提交回复
热议问题