libssl.so.0.9.8 error on 64 bit (x86_64)
Using 'generic linux (64 bit)' package on RedHat EL 5:
$ ./mendeleydesktop
./../lib/mendeleydesktop/libexec/mendeleydesktop.x86_64: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
There is a libssl.so.0 inside the lib dir provided with mendeley. Apart from that the following files exists on the system:
/{lib,lib64}/{libssl.so.0.9.8e,libssl.so.6}
/lib64/{libssl.so.0.9.7a,libssl.so.4}
/usr/{lib,lib64}/{libssl.a,libssl.so,libssl3.so}
I tried to create a symlink to one of these inside the lib dir - but does not help!
This has been fixed. If this issue still happens, please contact Mendeley Support.
41 comments
-
Emerson Martins
commented
On openSUSE 64b, the only way to make mendeley 0.9.9 work was linking libssl and libcrypto from /lib64 to /mendeleydir/lib;
I also had to remove .local/share/data/Mendeley Ltd. created on my /home on previous installation. -
Emerson Martins
commented
On openSUSE 11.4 64bits, the only way to do mendeley work is linking libssl and libcrypto from /lib64 to mendeley/lib.
I also had to remove ~/.local/share/Mendeley Ltd. to make it work. -
francesco
commented
I confirm the procedure by Ilja. Running RHEL 6, dropbox rpm installed from binary rpm for fedora.
Remember to launch a 'dropbox start -i' from the command line to download / start the dropbox daemon and generate the hidden .dropbox-dist directory which contains the two libraries. -
matrs
commented
I just upgrade fedora 12 to fedora 14 (x64) and found a new connection problem (QSslSocket: cannot call unresolved function). I enter to google and surprise, appear this old, and very well know for me, entry bug. Just say that keeping unresolved this libssl related problem just can brings more side effects, like this. The old fix, symlink creation, allows to mendeley start but generates new troubles.
Copying dropbox as stated by verity and others fix the problem -
Renan Tomal Fernandes
commented
Worked for me only with a 'ln -s libssl.so.0 libssl.so.0.9.8', ah, for people with Qt installed is a good idea to remove Qt libs from lib dir(of menbeley), so will be used the system qt libraries(for a KDE user like me the app look a real qt app instead of a qt app with a strange theme(plastique?))
-
jean mensa
commented
thank you, verity and IIja, it works!
-
verity commented
Thanks to Ilja, I made Mendeley to work by linking to ~/.dropbox-dist/libssl.so.0.9.8 and ~/.dropbox-dist/libcrypto.so.0.9.8. Running Fedora 14 64bit.
It's sad how slowly Mendeley fixes things...
-
jean mensa
commented
Thanks klaas, but it doesn't work for me (Fedora 14, Mendeley-0.9.8.2),
./mendeleydesktop: line 10: 11791 Segmentation fault (core dumped) "$LOCAL_LIB_PATH"/mendeleydesktop/libexec/mendeleydesktop.x86_64 $@
-
Rich
commented
Klaas's workaround needs one quick update:
replace his wget line with this one:
-
Christian Herenz commented
Same issue here ... opensuse 11.3
-
Ilja
commented
A workaround, which seems to work:
Dropbox seems to provide the necessary libs and the needed versions. So just link or copy the files from ~/.dropbox-distr/ if you have dropbox installed to the mendeley lib folder.
Seems to work fine. -
Lars
commented
For Fedora 11, Klaas advice worked nicely, thanks.
-
anonymous
commented
I fond an OpenSuse repository that contains openssl_0.8.2 which includes the required libs. Installing that package solved the problem.
-
anonymous
commented
Me too. OpenSuse 11.3. This seems to be an old problem, why is there no fix yet?
-
sanchom
commented
This is also an issue on OpenSuSE 11.3
-
Iztok
commented
I can't use mendely on Ferdoa 14
QSslSocket: cannot call unresolved function d2i_X509
QSslSocket: cannot call unresolved function d2i_X509
QLayout: Attempting to add QLayout "" to DocumentDetailsReviewPanel "detailsReviewPanel", which already has a layout
QSslSocket: cannot call unresolved function SSLv3_client_method
QSslSocket: cannot call unresolved function SSL_CTX_new
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function ERR_get_error
QSslSocket: cannot call unresolved function ERR_error_string
Mendeley Remote API Error: "Unable to contact Mendeley Web. Possible reasons why this may have happened:<ul><li>Your proxy settings are incorrect. Go to the Connection tab in the Mendeley Desktop's <a href="mendeley://connection-settings">settings dialog</a> to check or change your proxy setup.</li><li>You are connected to the Internet via a public wireless network which has a login page. <a href="http://www.mendeley.com">Click here</a> to open mendeley.com in your browser. Enter your login details if prompted and press 'Sync' in Mendeley Desktop to continue.</li></ul>"
"
Network Error Message: 'HTTP request failed'"
Application startup took 674 ms
QSslSocket: cannot call unresolved function SSLv3_client_method
QSslSocket: cannot call unresolved function SSL_CTX_new
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function ERR_get_error
QSslSocket: cannot call unresolved function ERR_error_string
Mendeley Remote API Error: "Unable to contact Mendeley Web. Possible reasons why this may have happened:<ul><li>Your proxy settings are incorrect. Go to the Connection tab in the Mendeley Desktop's <a href="mendeley://connection-settings">settings dialog</a> to check or change your proxy setup.</li><li>You are connected to the Internet via a public wireless network which has a login page. <a href="http://www.mendeley.com">Click here</a> to open mendeley.com in your browser. Enter your login details if prompted and press 'Sync' in Mendeley Desktop to continue.</li></ul>"
"I have a problem with proxy ...
I use the same proxy settings as in my browsers, but I xtill can't bring it to work ...
Any hints ?
-
Klaas
commented
Hi, I had the same problem with Fedora 13/14. Removing all the QT libraries and linking the libssl.so.0 to /usr/lib64/libssl.so.1.0.0a did not work. Mendeley started properly and browsing and looking to the pdfs was not a problem. However when I wanted to add changes to a document (other filename, fill in the authorfields, ..., add a note) then the program crashed.
All problems vanished when I installed openssl-0.9.8k-1.fc11.x86_64.rpm from fedora 11 locally and copied the necessary files.
I did it in the following way
mkdir -p /usr/local/src/openssl
cd /usr/local/src/openssl
wget ftp://fedora.tu-chemnitz.de/pub/linux/fedora/linux/releases/11/Fedora/x86_64/os/Packages/openssl-0.9.8k-1.fc11.x86_64.rpm
rpm2cpio openssl-0.9.8k-1.fc11.x86_64.rpm | cpio -idmvcd mendeleydesktopdir
cd lib
rm -rf libssl.so.0
mv /usr/local/src/openssl/usr/lib64/* .
ln -s libssl.so.8 libssl.so.0
rm -rf /usr/local/opensslThis fixed all my problems and I did not need to compile libssl myself.
I hope this helps a lot of you
-
Robert Knight
commented
@gogoll,
In your Mendeley Desktop data directory (http://www.mendeley.com/faq/#locate-database) there will be a file called log.txt which contains the details of what went wrong during the database upgrade. Can you email that to support@mendeley.com?
-
gogoll
commented
im using fedora 12 and already fixed the libssl problem but still getting the following error: "Mendeley was not able to upgrade your database format to the current version."
-
Volker Braun
commented
Using Fedora 13 x86_64: Just symlinking the relevant libssl was not enough, I got lots of errors like:
QSslSocket: cannot call unresolved function SSLv3_client_method
QSslSocket: cannot call unresolved function SSL_CTX_new
QSslSocket: cannot call unresolved function ERR_get_errorThe fix is to delete mendeleydesktop-0.9.7.1-linux-x86_64/lib/libQt* as well, and use the fedora-provided libraries ("yum install qt openssl" if you don't have them).
To summarize, the lib directory should only have these entries:
libMendeley.so -> libMendeley.so.0.9
libMendeley.so.0.9 -> libMendeley.so.0.9.7.1
libMendeley.so.0.9.7.1
libPDFNetC.so
libpng.so.3
libssl.so.0 -> /usr/lib64/libssl.so.10