Closed JunHuang023 closed 7 years ago
Your initial issue indicates that the problem appears when loading git2r.so
so this problem concerns the git2r
package. It is not related to the openssl
R package.
CentOS 5 is really really old and ships with a version of libssl which is long deprecated. Your best bet is to uninstall openssl-devel
from the system and compile a more recent version from source.
@jeroenooms . Thank you for your kind suggestion. Yes, the initial issue seemed to be problem when "loading git2r.so", after I installed "openssl" in my own directory:
Jun@host ~]$ which openssl
~/Programme/openssl/bin/openssl
[Jun@host ~]$ ldd ~/Programme/openssl/bin/openssl
linux-vdso.so.1 => (0x00007fffc3ead000)
libssl.so.1.0.0 => /somewhere/Jun/Programme/openssl/lib/libssl.so.1.0.0 (0x00002b8027af9000)
libcrypto.so.1.0.0 => /somewhere/Jun/Programme/openssl/lib/libcrypto.so.1.0.0 (0x00002b8027d5e000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003cae000000)
libc.so.6 => /lib64/libc.so.6 (0x0000003cad800000)
/lib64/ld-linux-x86-64.so.2 (0x0000003cad400000)
I am not sure that "git2r.so" issue has gone, but error messages changed into:
openssl.so: undefined symbol: EVP_PKEY_sign
or
openssl.so: undefined symbol: EC_KEY_set_public_key_affine_coordinates
seemed to suggest something is wrong with "openssl", which brought me here.
"to uninstall openssl-devel from the system" might not be feasible for me, since I am not the administrator of our system.
"compile a more recent version from source", It seemed to me that I had already done that,
wget https://www.openssl.org/source/old/1.0.0/openssl-1.0.0k.tar.gz
tar xvzf openssl-1.0.0k.tar.gz
cd openssl-1.0.0k
./config --prefix=$HOME/Programme/openssl --openssldir=$HOME/Programme/ssl
make && make install
I am not-well versed in programming/computer, so I might not get what you meant. If that is the case, please explain a little bit more. Thank you very much.
Hi, I was trying to "devtools"
It seemed that I need to install "libssl.so.1.0.0", so I installed "openssl"
Then tried in to install "devtools" again:
install.packages("devtools", dependencies = TRUE)
but the issue persisted:Then I noticed the post here I tried:
Then tried:
but without luck. When I checked
"pkg-config" seems to pointing wrong directory, when I checked "/usr/kerberos/" there are even no "/usr/kerberos/include " nor "/usr/kerberos/lib64"
there areno "/usr/kerberos/include " nor "/usr/kerberos/lib64", I assumed "libssl" installed in my directory would be used, it seemed that was not the case. the issue there seemed to be resolved. so this might be my personal issue. If any suggestion, please let me know. Thanks! PS: