openssl icon indicating copy to clipboard operation
openssl copied to clipboard

problem with soname version in libressl ?

Open matt-wirtz opened this issue 5 years ago • 4 comments

Hi,

I think I have a very similar issue as mentioned here already: (https://github.com/jeroen/openssl/issues/39)

When trying to install the openssl package under R I get the folliowing error:

* installing *source* package ‘openssl’ ...
** package ‘openssl’ successfully unpacked and MD5 sums checked
Found pkg-config cflags and libs!
Using PKG_CFLAGS=
Using PKG_LIBS=-l:libssl.so.1.0.0 -l:libcrypto.so.1.0.0
** libs
...
** testing if installed package can be loaded
Error: package or namespace load failed for ‘openssl’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/home/user/R/x86_64-suse-linux-gnu-library/3.5/openssl/libs/openssl.so':
  /home/user/R/x86_64-suse-linux-gnu-library/3.5/openssl/libs/openssl.so: undefined symbol: RSA_set0_factors
Error: loading failed

I'm running opensuse 15 and openssl is installed:

sudo ldconfig -p | grep ssl
        libssl3.so (libc6,x86-64) => /usr/lib64/libssl3.so
        libssl.so.45 (libc6,x86-64) => /usr/lib64/libssl.so.45
        libssl.so.1.1 (libc6,x86-64) => /usr/lib64/libssl.so.1.1
        libssl.so.1.1 (libc6) => /usr/lib/libssl.so.1.1
        libssl.so.1.0.0 (libc6,x86-64) => /usr/lib64/libssl.so.1.0.0
        libssl.so.1.0.0 (libc6) => /usr/lib/libssl.so.1.0.0
        libssl.so (libc6,x86-64) => /usr/lib64/libssl.so
        libevent_openssl-2.1.so.6 (libc6,x86-64) => /usr/lib64/libevent_openssl-2.1.so.6

On my system there are different libssl versions installed too, as there were in the linked issue mentioned above. But all reside in the same directory /usr/lib64. So I don't think I can fix it by specifying the LD_LIBRARY_PATH.

Any help is appreciated.

My sessioninfo:

R version 3.5.0 (2018-04-23)
Platform: x86_64-suse-linux-gnu (64-bit)
Running under: openSUSE Leap 15.0

Matrix products: default
BLAS: /usr/lib64/R/lib/libRblas.so
LAPACK: /usr/lib64/R/lib/libRlapack.so

locale:
 [1] LC_CTYPE=nds_DE.UTF-8       LC_NUMERIC=C                LC_TIME=de_DE.UTF-8         LC_COLLATE=nds_DE.UTF-8    
 [5] LC_MONETARY=nds_DE.UTF-8    LC_MESSAGES=nds_DE.UTF-8    LC_PAPER=de_DE.UTF-8        LC_NAME=C                  
 [9] LC_ADDRESS=C                LC_TELEPHONE=C              LC_MEASUREMENT=nds_DE.UTF-8 LC_IDENTIFICATION=C        

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_3.5.0 tools_3.5.0

matt-wirtz avatar Oct 06 '19 09:10 matt-wirtz