How To Remove unused dependencies ? /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18
-
Hello there,
I compiled QT 4.8.4 statically with built in MySQL Driver and my application is using a MySQL Connection.
Everything works just fine, the static file has about 46 MB.
But if i run ldd on my programm, it says there's a dependencie to libmysqlclient.so.18
If I run ldd with the parameter -u to show the unused dependencies it lists
/usr/lib/x86_64-linux-gnu/libmysqlclient.so.18
I don't know how to get rid of that stupid dependecie.
Has anybody any suggestions ?
Greetings
hssjc -
-
But isn't the libmysqlclient.a static ?
I linked against it whe i compiled QT statically.
I used this command to configure QT
./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