[Webkit-unassigned] [Bug 35636] New: [Qt] Webkit doesn't link against system SQLite on OSX
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 3 03:20:21 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=35636
Summary: [Qt] Webkit doesn't link against system SQLite on OSX
Product: WebKit
Version: 528+ (Nightly build)
Platform: Other
OS/Version: Mac OS X 10.5
Status: NEW
Keywords: Qt
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: vestbo at webkit.org
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<QVariant>&, int,
bool)in qsql_sqlite.o<br/>
"_sqlite3_column_text16", referenced from:<br/>
QSQLiteResultPrivate::fetchNext(QVector<QVariant>&, 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&) 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?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list