Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install error #28

Closed
dwaggott opened this issue Aug 4, 2016 · 10 comments
Closed

install error #28

dwaggott opened this issue Aug 4, 2016 · 10 comments

Comments

@dwaggott
Copy link

dwaggott commented Aug 4, 2016

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
Copy link
Owner

jeroen commented Aug 4, 2016

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
Copy link
Author

dwaggott commented Aug 4, 2016

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
Copy link
Owner

jeroen commented Aug 4, 2016

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

@jeroen
Copy link
Owner

jeroen commented Aug 4, 2016

Which OS is this?

@dwaggott
Copy link
Author

dwaggott commented Aug 4, 2016

centos kernel 2.6

@jeroen
Copy link
Owner

jeroen commented Aug 4, 2016

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

@dwaggott
Copy link
Author

dwaggott commented Aug 4, 2016

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
Copy link
Owner

jeroen commented Aug 4, 2016

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
Copy link
Owner

jeroen commented Aug 9, 2016

Is this fixed?

@dwaggott
Copy link
Author

dwaggott commented Aug 9, 2016

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
#28 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADAQeMEv4EusLcgaCKAs8eKTOnynxLIrks5qeNx3gaJpZM4Jc6jV
.

@jeroen jeroen closed this as completed Aug 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants