bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/19698] [2.26 Regression] mysql qt4 driver plugin not able


From: hjl.tools at gmail dot com
Subject: [Bug binutils/19698] [2.26 Regression] mysql qt4 driver plugin not able to open libmysqlclient.so
Date: Sat, 20 Feb 2016 22:59:07 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19698

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to dura from comment #4)
> (In reply to H.J. Lu from comment #3)
> > Please provide all linker input files and command line options used to
> > build libqsqlmysql.so.
> 
> This is the command line that build libqsqlmysql.so:
> g++
> -Wl,-rpath-link,/bsources/qt-everywhere-opensource-src-4.8.7/qt-everywhere-
> opensource-src-4.8.7/lib -Wl,-O1 -Wl,-rpath,/usr/qt4/lib
> -Wl,-rpath,/usr/qt4/lib -shared -o libqsqlmysql.so
> .obj/release-shared/main.o .obj/release-shared/qsql_mysql.o
> .obj/release-shared/moc_qsql_mysql.o  
> -L/bsources/qt-everywhere-opensource-src-4.8.7/qt-everywhere-opensource-src-
> 4.8.7/lib -L/usr/lib -lmysqlclient -lz -lm -ldl -lssl -lcrypto -lQtSql
> -L/bsources/qt-everywhere-opensource-src-4.8.7/qt-everywhere-opensource-src-
> 4.8.7/lib -lQtCore -lpthread
>
> Can you tell me what should I do for "provide all linker input files"?

These aren't linker command line options.  You should add "-v" to show
the command line options passed to linker.  I need all files passed to
linker as inputs, including .o, .a and .so files.  You can verify that
by putting all them in a directory and passing to ld:

# ld ...........................

with the same order shown by "g++ -v".

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]