Closed dalloliogm closed 7 years ago
ROracle assumes that the SDK is installed in the same directory as the Basic package. The following worked for me (note that I'm on a Mac, and that I'm using basiclite):
export LD_LIBRARY_PATH=/usr/local/Cellar/instantclient-basiclite/12.1.0.2.0/lib:$LD_LIBRARY_PATH
R CMD INSTALL --configure-args='--with-oci-lib=/usr/local/Cellar/instantclient-basiclite/12.1.0.2.0/lib --with-oci-inc=/usr/local/Cellar/instantclient-sdk/12.1.0.2.0/lib/sdk/include' ROracle_1.2-2.tar.gz
Sorry but I do not have any input on this since I have never used ROracle myself. Should I extend the README with your remarks?
I am closing this issue for now. Please reopen if you have any more input.
Thank you!
Hello, thank you for writing these recipes.
The installation of the InstantClient worked correctly, but now I would like to install ROracle (R package for accessing Oracle using instanclient), but I am not sure how to set up the flags.
This are the install instructions: https://cran.r-project.org/web/packages/ROracle/INSTALL
I've tried with all the combinations of LD_LIBRARY_PATH (e.g. adding .linuxbrew/Cellar/instantclient-sdk/12.1.0.2.0/lib/), but none of them worked. I always get the error: