I suggest you ...

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!

82 votes
Vote 0 votes Vote Vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service

    You'll receive a confirmation email with a link to create a password (optional).

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    kapatpkapatp shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    planned

    41 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service

      You'll receive a confirmation email with a link to create a password (optional).

      Signed in as (Sign out)
      Submitting...
      • Emerson MartinsEmerson Martins commented  ·   ·  Flag as inappropriate

        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 MartinsEmerson Martins commented  ·   ·  Flag as inappropriate

        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 francesco commented  ·   ·  Flag as inappropriate

        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.

      • matrsmatrs commented  ·   ·  Flag as inappropriate

        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 FernandesRenan Tomal Fernandes commented  ·   ·  Flag as inappropriate

        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?))

      • verityverity commented  ·   ·  Flag as inappropriate

        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...

      • jeanjean commented  ·   ·  Flag as inappropriate

        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 $@

      • IljaIlja commented  ·   ·  Flag as inappropriate

        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.

      • anonymousanonymous commented  ·   ·  Flag as inappropriate

        I fond an OpenSuse repository that contains openssl_0.8.2 which includes the required libs. Installing that package solved the problem.

      • IztokIztok commented  ·   ·  Flag as inappropriate

        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 ?

      • KlaasKlaas commented  ·   ·  Flag as inappropriate

        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 -idmv

        cd 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/openssl

        This fixed all my problems and I did not need to compile libssl myself.

        I hope this helps a lot of you

      • gogollgogoll commented  ·   ·  Flag as inappropriate

        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 BraunVolker Braun commented  ·   ·  Flag as inappropriate

        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_error

        The 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

      ← Previous 1 3

      Knowledge Base and Helpdesk