LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   dlopen error : libcrypto.so.6: cannot open shared object file (https://www.linuxquestions.org/questions/linux-software-2/dlopen-error-libcrypto-so-6-cannot-open-shared-object-file-926432/)

Spencerbaibai 01-30-2012 12:31 AM

dlopen error : libcrypto.so.6: cannot open shared object file
 
Dear all,

when I wanna to execute an C/C++ Code
I got the error as below :


dlopen error: libcrypto.so.6: cannot open shared object file: No such file or directory
Load Error: Failed to load Dynamic link library /home/kschuang/Desktop/root/lib/libNet.so
Error in <TCint::AutoLoad>: failure loading dependent library libNet.so for class TNtuple
dlopen error: libcrypto.so.6: cannot open shared object file: No such file or directory
Load Error: Failed to load Dynamic link library /home/kschuang/ Desktop /root/lib/libTree.so
Error in <TCint::AutoLoad>: failure loading library libTree.so for class TNtuple
Warning in <TClass::TClass>: no dictionary for class TBranch is available
Error: Function BIT(10) is not defined in current scope /home/kschuang/ Desktop

How should I do ?
Thank you in advance and best regards, :p

Spencer Lu
Medical Imgaing Processing Lab (MIPL)
Department of Biomedical Engineering and Environmental Sciences,
National Tsing-Hua University, Taiwan


=========================================================
Appendix (my computer’s version) :

[root@localhost ~]# yum whatprovides "*/*libcrypto.so*"
Loaded plugins: presto, refresh-packagekit
openssl-1.0.0-0.10.beta3.fc12.x86_64 : A general purpose cryptography library
: with TLS implementation
Repo : fedora
Matched from:
Filename : /usr/lib64/libcrypto.so.10
Filename : /usr/lib64/.libcrypto.so.1.0.0.hmac
Filename : /usr/lib64/.libcrypto.so.10.hmac
Filename : /usr/lib64/libcrypto.so.1.0.0



openssl-devel-1.0.0-0.10.beta3.fc12.i686 : Files for development of applications
: which will use OpenSSL
Repo : fedora
Matched from:
Filename : /usr/lib/libcrypto.so



openssl-1.0.0-0.10.beta3.fc12.i686 : A general purpose cryptography library with
: TLS implementation
Repo : fedora
Matched from:
Filename : /usr/lib/.libcrypto.so.10.hmac
Filename : /usr/lib/.libcrypto.so.1.0.0.hmac
Filename : /usr/lib/libcrypto.so.1.0.0
Filename : /usr/lib/libcrypto.so.10



openssl-devel-1.0.0-0.10.beta3.fc12.x86_64 : Files for development of
: applications which will use OpenSSL
Repo : fedora
Matched from:
Filename : /usr/lib64/libcrypto.so



openssl-devel-1.0.0b-1.fc12.1.x86_64 : Files for development of applications
: which will use OpenSSL
Repo : updates
Matched from:
Filename : /usr/lib64/libcrypto.so



openssl-devel-1.0.0b-1.fc12.1.i686 : Files for development of applications which
: will use OpenSSL
Repo : updates
Matched from:
Filename : /usr/lib/libcrypto.so



openssl-1.0.0b-1.fc12.1.i686 : A general purpose cryptography library with TLS
: implementation
Repo : updates
Matched from:
Filename : /usr/lib/.libcrypto.so.10.hmac
Filename : /usr/lib/libcrypto.so.10
Filename : /usr/lib/.libcrypto.so.1.0.0b.hmac
Filename : /usr/lib/libcrypto.so.1.0.0b



openssl-1.0.0b-1.fc12.1.x86_64 : A general purpose cryptography library with TLS
: implementation
Repo : updates
Matched from:
Filename : /usr/lib64/libcrypto.so.10
Filename : /usr/lib64/.libcrypto.so.10.hmac
Filename : /usr/lib64/.libcrypto.so.1.0.0b.hmac
Filename : /usr/lib64/libcrypto.so.1.0.0b



openssl-1.0.0-0.10.beta3.fc12.x86_64 : A general purpose cryptography library
: with TLS implementation
Repo : installed
Matched from:
Filename : /usr/lib64/libcrypto.so.10
Filename : /usr/lib64/.libcrypto.so.1.0.0.hmac
Filename : /usr/lib64/.libcrypto.so.10.hmac
Filename : /usr/lib64/libcrypto.so.1.0.0



openssl-devel-1.0.0-0.10.beta3.fc12.x86_64 : Files for development of
: applications which will use OpenSSL
Repo : installed
Matched from:
Filename : /usr/lib64/libcrypto.so

John VV 01-30-2012 04:02 AM

First WHYare you using a OLD fedora 12 AND an EARLY beta release at that

fedora 12 hit end of life on Dec. 2010
HOWEVER the TESTING ONLY beta-3 went dead ( end of life and UNSUPPORTED ) in Nov 2009
it was a EARLY testing ONLY version and NOT for normal use


please install the CURRENT version
fedora 16

Quote:

/home/kschuang/Desktop/root/lib/libNet.so
also Linux is NOT Microsoft windows
the Desktop file is not a normal folder - you really DO NOT want to build software there ,and you REALLY DO NOT want to install it there .

if you must build it in your home folder then build it IN your home folder
/home/kschuang/ProjectName

then you need to ADD those PATH's to the ~/.bash_profile
that way it can be found


Also WHAT is this software that MUST use the very old "libcrypto.so.6"
that version was used way back in fedora 6
it is also used in CentOS 5 and 6

I would rewrite the code in this unnamed program to use the current version .

Spencerbaibai 01-30-2012 04:54 AM

Hi John,


I almost moved to tears!!

I Really appreciate your kind reply !!

I will install the latest fedora version-16 recently


Best regards & Hope you have good health

Spencer


All times are GMT -5. The time now is 07:10 PM.