Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. German
  4. Statisches QT 4.8.4 Projekt ist abhängig von libmysqlclient.so.18 trotz statischem Linken
Forum Updated to NodeBB v4.3 + New Features

Statisches QT 4.8.4 Projekt ist abhängig von libmysqlclient.so.18 trotz statischem Linken

Scheduled Pinned Locked Moved German
1 Posts 1 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hssjc
    wrote on last edited by
    #1

    Hallo,
    ich habe QT 4.8.4 statisch gelinkt, habe aber ein Problem mit mysql.
    Mit folgendem Befehl unter Ubuntu 12.04 habe ich QT kompiliert.
    ./configure -static -debug -opensource -developer-build -L/home/lokal/qtinclude -l:libmysqlclient.a -l:libssl.a -l:libcrypto.a -l:libmysqld.a -qt-sql-mysql -openssl-linked -qt-zlib -nomake demos -nomake examples -nomake tools -no-qt3support -no-opengl -no-webkit -prefix /usr/local/Trolltech/Qt-4.8.4_debug_static -v
    In /home/lokal/qtinclude befinden sich die Dateien libcrypto.a, libmysqld.a, libssl.a und libmysqlclient.a
    Wenn ich nun mein Projekt mit dem QTCreator erstelle, und ich mit ldd die Abhängigkeiten der Ausführbaren Datei checke,
    steht dort immernoch der EIntrag libmysqlclient.so.18 => /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 (0x00007fb7b8460000)
    Ich hab QT gefphlte 1000mal kompiliert, aber irgendwie klappt es nicht. Muss ich an meinem Programm noch etwas ändern ?
    Gruß Till

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved