Hi All,
I'm trying to build the latest bitcoin-core (ver. 0.10.2) on my CentOS 7 box.
Unfortunately the openssl version of CentOS 7 doesn't ship with with eliptic curves encryption support.
So I had to download and build it my own.
Building went fine and files are placed in /usr/local/ssl/...
Next I configured the bitcoin source-code:
./configure PKG_CONFIG_PATH=/usr/local/ssl/lib/pkgconfig LIBS=-Wl,-rpath,/usr/local/ssl/lib
So this
should tell the linker
not to link agains the old ssl library, but the one in /usr/local/ssl/lib
Compiling went fine without errors.
But again, when you try to launch the bitcoind, I get:
A quick check reveals:
[root@server ~]# ldd /usr/local/bin/bitcoind
linux-vdso.so.1 => (0x00007fff0f7fe000)
libboost_system.so.1.53.0 => /lib64/libboost_system.so.1.53.0 (0x00007f8ee8210000)
libboost_filesystem.so.1.53.0 => /lib64/libboost_filesystem.so.1.53.0 (0x00007f8ee7ff8000)
libboost_program_options-mt.so.1.53.0 => /lib64/libboost_program_options-mt.so.1.53.0 (0x00007f8ee7d86000)
libboost_thread-mt.so.1.53.0 => /lib64/libboost_thread-mt.so.1.53.0 (0x00007f8ee7b6f000)
libboost_system-mt.so.1.53.0 => /lib64/libboost_system-mt.so.1.53.0 (0x00007f8ee796a000)
libboost_chrono-mt.so.1.53.0 => /lib64/libboost_chrono-mt.so.1.53.0 (0x00007f8ee7762000)
libdb_cxx-4.8.so => /lib64/libdb_cxx-4.8.so (0x00007f8ee73c0000)
libssl.so.10 => /lib64/libssl.so.10 (0x00007f8ee7152000)
libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f8ee6d6b000)
libanl.so.1 => /lib64/libanl.so.1 (0x00007f8ee6b67000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f8ee685f000)
libm.so.6 => /lib64/libm.so.6 (0x00007f8ee655d000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f8ee6347000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8ee612a000)
libc.so.6 => /lib64/libc.so.6 (0x00007f8ee5d69000)
librt.so.1 => /lib64/librt.so.1 (0x00007f8ee5b61000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f8ee5914000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f8ee5631000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f8ee542c000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f8ee51fa000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f8ee4ff6000)
libz.so.1 => /lib64/libz.so.1 (0x00007f8ee4ddf000)
/lib64/ld-linux-x86-64.so.2 (0x00007f8ee8ad6000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f8ee4bd0000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f8ee49cb000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f8ee47b1000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f8ee458b000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f8ee432a000)
liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f8ee4105000)
Why does it still link against the wrong library ?
Any ideas ?