On Thu, Sep 26, 2019 at 3:41 PM Sameh M. Abdulah <sameh.abdu...@kaust.edu.sa> wrote: > > I am installing my dependencies including OpenBLAS during the package > installation via the configure file. > What is surprising me that even all dependencies are installed successfully. > R cannot load one of the library > that depends on LAPACKE. My method is to install all my dependencies inside > the installation directory of my R package and > set PKG_CONFIG_PATH to this path. Do I need to set any other paths so that R > can see my new OpenBLAS which include LAPACKE?
With PKG_CONFIGURE _PATH you enable finding the right compiler flags for compilation. However, this does not help you with the necessary run time linking, since you seem to be building dynamic libraries. One way forward might be: * Build a static version of LAPACKE * Build a static version of your dependency * Build your package linking with your static libs and BLAS/LAPACK as described in WRE. cheerio ralf ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel