Results 1 to 3 of 3

Thread: Why my programm is asking for libssl.so.7?

  1. #1
    Join Date
    Jan 2008
    Location
    Davao City, Philippines
    Posts
    77
    Thanks
    16
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Why my programm is asking for libssl.so.7?

    Sorry guys,

    I'm really not sure if this is a Qt related problem or more a Linux related problem.

    I have developed a program under Linux (Fedora 9) with SSL Support. The prorgam works fine for me but now I have tried to move the program to another machine (Ubuntu 9.04).

    And there I got these errors:

    Qt Code:
    1. error while loading shared libraries: libssl.so.7
    2. error while loading shared libraries: libcrypto.so.7
    To copy to clipboard, switch view to plain text mode 

    Why that? On both machines "openssl version" gives me
    Qt Code:
    1. OpenSSL 0.9.8g 19 Oct 2007
    To copy to clipboard, switch view to plain text mode 

    Why the program is asking for libcrypto.so.7 and not for libcrypto.so or libcrypto.so.0.9.8 or something else?

    I know, I could fix it with a symlink, but is there a better way to do that?

    If not, is there a way to link libssl and libcrypto static to my program?

    Thanks in advance and best regards!

    Guenther

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Why my programm is asking for libssl.so.7?

    What does ldd return on your application on both machines?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. The following user says thank you to wysota for this useful post:

    gboelter (29th September 2009)

  4. #3
    Join Date
    Jan 2008
    Location
    Davao City, Philippines
    Posts
    77
    Thanks
    16
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Why my programm is asking for libssl.so.7?

    Hi wysota,

    Quote Originally Posted by wysota View Post
    What does ldd return on your application on both machines?
    thanks for the response. I know already what's causing this issue. It's not "my" program, it's Qt's libQtSql.so.4.5.2 what's doing this funny things and this has something to do with Fedora.

    I have compiled the program now directly under Ubuntu and there I don't need libbssl.so.7. But if the program is compiled under Fedora, then libssl.so.7 is required.

    By the way, libbsl.so.7 is a symlink to libssl.so.0.9.8g. libQtSql also needs libcrypto.so.7 as a symlink to libcrypto.so.0.9.8g.

    It's a little bit confusing, but I can live with that ...

    Thanks again.

    Regards Guenther

Similar Threads

  1. i want dynamic link my programm
    By coder1985 in forum Installation and Deployment
    Replies: 5
    Last Post: 19th November 2007, 10:59

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.