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

Error with openssl when running a Rscript #25

Closed
WPierrick opened this issue May 17, 2016 · 2 comments
Closed

Error with openssl when running a Rscript #25

WPierrick opened this issue May 17, 2016 · 2 comments

Comments

@WPierrick
Copy link

Hi,

I get this error when I want to run a Rscript on a cluster where R is installed (the script works, and every user on the cluster has personal R libraries) :

Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/myfilepath/R/x86_64-pc-linux-gnu-library/3.2/openssl/libs/openssl.so':
/myfilepath/R/x86_64-pc-linux-gnu-library/3.2/openssl/libs/openssl.so: symbol EC_KEY_get0_group, version OPENSSL_1.0.1_EC not defined in file libcrypto.so.10 with link time reference
Error: package or namespace load failed for 'missMethyl'

FYI, my version of openssl:

packageVersion("openssl")
[1] ‘0.9.3’

Seems like it works when I manually load a package on R on a master head node of the cluster, but not when I run a job via bash on a cluster node.

Basically, R doesn't want to load any package because it seems there is a problem with incompatible openssl versions. Does that makes any sense? Any idea on how to solve this?
The problem arise after I tried to install ShinyMethyl, a bioconductor package.

Cheers,

@jeroen
Copy link
Owner

jeroen commented May 17, 2016

Looks like a conflict on the server with multiple versions of libssl, where you compile against one version but then load another version. Can you show me the output of:

ldd /myfilepath/R/x86_64-pc-linux-gnu-library/3.2/openssl/libs/openssl.so

And of:

pkg-config --cflags openssl
pkg-config --libs openssl

@WPierrick
Copy link
Author

Thank you for your reply!

There was indeed an incompatibility between openssl versions on my cluster's head node and other nodes following a security update. It's been fixed now.
Thanks again.

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