[R-pkg-devel] Package or namespace load failed: undefined symbol

Sameh M. Abdulah @@meh@@bdu|@h @end|ng |rom k@u@t@edu@@@
Thu Sep 26 15:41:55 CEST 2019

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?


On 9/26/19, 4:34 PM, "Ralf Stubner" <ralf.stubner using gmail.com> wrote:

    On Wed, Sep 25, 2019 at 3:34 PM Sameh M. Abdulah
    <sameh.abdulah using kaust.edu.sa> wrote:
    > My package depends on another C-based software that needs LAPACKE to compile. I do not know a lot about it. I think adding LAPACKE to my package will be a good solution.
    > Could you please give me more information of how to do this?
    Including LAPACKE in your package won't help you in this case, since
    it is not your package but one of its dependencies that needs it. So
    LAPACKE needs to be installed when that dependency is installed, which
    happens before your package gets installed.
    How do you expect the dependencies to get installed? Is that done by
    an admin before the package installation?

More information about the R-package-devel mailing list