jeroen / openssl

OpenSSL bindings for R
Other
63 stars 20 forks source link

install error #28

Closed dwaggott closed 7 years ago

dwaggott commented 7 years ago

Does this look familiar? libssl and headers should be installed. I don't see any other errors.

** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/home/xxx/R/x86_64-pc-linux-gnu-library/3.2/openssl/libs/openssl.so':
  libssl.so.1.0.0: cannot open shared object file: No such file or directory
Error: loading failed
jeroen commented 7 years ago

Can you show me installation output? Is your libssl in an unusual directory? In that case you might need to set LD_LIBRARY_PATH.

dwaggott commented 7 years ago

Linux version 2.6.32-573.12.1.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) ) #1 SMP Tue Dec 15 21:19:08 UTC 2015

openssl_install.log

$ ldconfig -p | grep libssl libssl3.so (libc6,x86-64) => /usr/lib64/libssl3.so libssl.so.10 (libc6,x86-64) => /usr/lib64/libssl.so.10 libssl.so (libc6,x86-64) => /usr/lib64/libssl.so

jeroen commented 7 years ago

Is there an additional openssl on this box? What do you get for: pkg-config --cflags --libs openssl ?

jeroen commented 7 years ago

Which OS is this?

dwaggott commented 7 years ago

centos kernel 2.6

jeroen commented 7 years ago

Which version of centos is that? What do you get for: pkg-config --cflags --libs openssl ?

dwaggott commented 7 years ago

pkg-config --cflags --libs openssl -I/home/dwaggott/.linuxbrew/Cellar/openssl/1.0.2d_1/include -L/home/dwaggott/.linuxbrew/Cellar/openssl/1.0.2d_1/lib -lssl -lcrypto

Looks like it's based off RedHat 4..4. Not completely sure, this is an HPC. cat /proc/version Linux version 2.6.32-573.12.1.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) ) #1 SMP Tue Dec 15 21:19:08 UTC 2015

jeroen commented 7 years ago

If that's where your libs are you need to set (at all time) an environment variable:

export LD_LIBRARY_PATH=/home/dwaggott/.linuxbrew/lib
jeroen commented 7 years ago

Is this fixed?

dwaggott commented 7 years ago

Yes, please close. It was related to a conflict with linuxbrew paths.

On Tue, Aug 9, 2016 at 1:00 PM, Jeroen Ooms notifications@github.com wrote:

Is this fixed?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jeroenooms/openssl/issues/28#issuecomment-238672835, or mute the thread https://github.com/notifications/unsubscribe-auth/ADAQeMEv4EusLcgaCKAs8eKTOnynxLIrks5qeNx3gaJpZM4Jc6jV .