Bug 35636

Summary: [Qt] Webkit doesn't link against system SQLite on OSX
Product: WebKit Reporter: Tor Arne Vestbø <vestbo>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: mike, robert
Priority: P2 Keywords: Qt
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   

Tor Arne Vestbø
Reported 2010-03-03 03:20:21 PST
This bug report originated from issue QTBUG-7630 http://bugreports.qt.nokia.com/browse/QTBUG-7630 --- Description --- When I configure Qt to build against the system SQLite on OSX it won't link correctly. <p>My configure line is:<br/> ./configure -prefix /usr/local/Cellar/qt/4.6.1 -system-sqlite -system-libpng -system-zlib -plugin-sql-mysql -nomake demos -nomake examples -release -cocoa -confirm-license -opensource -I/usr/local/Cellar/d-bus/1.2.16/lib/dbus-1.0/include/ -I/usr/local/Cellar/d-bus/1.2.16/include/dbus-1.0/ -ldbus-1 -dbus-linked -qt3support -L/usr/X11R6/lib -I/usr/X11R6/include -arch x86_64</p> <p>The errors are:</p> <p>g++ -headerpad_max_install_names -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -single_module -dynamiclib -o libqsqlite.dylib .obj/release-shared/smain.o .obj/release-shared/qsql_sqlite.o .obj/release-shared/moc_qsql_sqlite.o -F/private/tmp/homebrew-qt-4.6.1-adHR/qt-everywhere-opensource-src-4.6.1/lib -L/usr/X11R6/lib -L/private/tmp/homebrew-qt-4.6.1-adHR/qt-everywhere-opensource-src-4.6.1/lib -framework QtSql -L/usr/X11R6/lib -L/private/tmp/homebrew-qt-4.6.1-adHR/qt-everywhere-opensource-src-4.6.1/lib -F/private/tmp/homebrew-qt-4.6.1-adHR/qt-everywhere-opensource-src-4.6.1/lib -framework QtCore -ldbus-1 <br/> Undefined symbols:<br/> "_sqlite3_column_int", referenced from:<br/> QSQLiteResultPrivate::fetchNext(QVector&lt;QVariant&gt;&amp;, int, bool)in qsql_sqlite.o<br/> "_sqlite3_column_text16", referenced from:<br/> QSQLiteResultPrivate::fetchNext(QVector&lt;QVariant&gt;&amp;, int, bool)in qsql_sqlite.o<br/> "_sqlite3_finalize", referenced from:<br/> QSQLiteResult::exec() in qsql_sqlite.o<br/> QSQLiteResult::exec() in qsql_sqlite.o<br/> QSQLiteResult::prepare(QString const&amp;) in qsql_sqlite.o<br/> QSQLiteResultPrivate::finalize() in qsql_sqlite.o<br/> WebCore::SQLiteStatement::getColumnName(int) in SQLiteStatement.o<br/> [snip] "_sqlite3_reset", referenced from:<br/> WebCore::SQLiteStatement::reset() in SQLiteStatement.o<br/> "_sqlite3_column_int", referenced from:<br/> WebCore::SQLiteStatement::getColumnInt(int) in SQLiteStatement.o<br/> "_sqlite3_set_authorizer", referenced from:<br/> WebCore::SQLiteDatabase::enableAuthorizer(bool) in SQLiteDatabase.o<br/> "_sqlite3_column_name16", referenced from:<br/> WebCore::SQLiteStatement::getColumnName(int) in SQLiteStatement.o<br/> "_sqlite3_errmsg", referenced from:<br/> WebCore::SQLiteDatabase::lastErrorMsg() in SQLiteDatabase.o<br/> ld: symbol(s) not found</p> <p>A (bad) workaround I'm currently using is just adding "LIBS = -lsqlite3" to src/plugins/sqldrivers/sqlite/sqlite.pro and src/3rdparty/webkit/WebCore/WebCore.pro. </p> --- Comments --- Is any more information needed for this?
Attachments
Robert Hogan
Comment 1 2010-03-09 13:34:10 PST
I'm going to stick my neck out and christen my editbugs permission by closing this as INVALID. It can't be recreated by configuring and building webkit trunk so can't be addressed here. I think it needs to remain a QTBUG. Forgive me if I'm way off whack!
Note You need to log in before you can comment on or make changes to this bug.