<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>35636</bug_id>
          
          <creation_ts>2010-03-03 03:20:21 -0800</creation_ts>
          <short_desc>[Qt] Webkit doesn&apos;t link against system SQLite on OSX</short_desc>
          <delta_ts>2010-03-09 13:34:10 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tor Arne Vestbø">vestbo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mike</cc>
    
    <cc>robert</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>195432</commentid>
    <comment_count>0</comment_count>
    <who name="Tor Arne Vestbø">vestbo</who>
    <bug_when>2010-03-03 03:20:21 -0800</bug_when>
    <thetext>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&apos;t link correctly.

&lt;p&gt;My configure line is:&lt;br/&gt;
./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&lt;/p&gt;

&lt;p&gt;The errors are:&lt;/p&gt;

&lt;p&gt;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  &lt;br/&gt;
Undefined symbols:&lt;br/&gt;
  &quot;_sqlite3_column_int&quot;, referenced from:&lt;br/&gt;
      QSQLiteResultPrivate::fetchNext(QVector&amp;lt;QVariant&amp;gt;&amp;amp;, int, bool)in qsql_sqlite.o&lt;br/&gt;
  &quot;_sqlite3_column_text16&quot;, referenced from:&lt;br/&gt;
      QSQLiteResultPrivate::fetchNext(QVector&amp;lt;QVariant&amp;gt;&amp;amp;, int, bool)in qsql_sqlite.o&lt;br/&gt;
  &quot;_sqlite3_finalize&quot;, referenced from:&lt;br/&gt;
      QSQLiteResult::exec()      in qsql_sqlite.o&lt;br/&gt;
      QSQLiteResult::exec()      in qsql_sqlite.o&lt;br/&gt;
      QSQLiteResult::prepare(QString const&amp;amp;) in qsql_sqlite.o&lt;br/&gt;
      QSQLiteResultPrivate::finalize()      in qsql_sqlite.o&lt;br/&gt;
      WebCore::SQLiteStatement::getColumnName(int)   in SQLiteStatement.o&lt;br/&gt;
  
  [snip]
  
  &quot;_sqlite3_reset&quot;, referenced from:&lt;br/&gt;
      WebCore::SQLiteStatement::reset()     in SQLiteStatement.o&lt;br/&gt;
  &quot;_sqlite3_column_int&quot;, referenced from:&lt;br/&gt;
      WebCore::SQLiteStatement::getColumnInt(int)   in SQLiteStatement.o&lt;br/&gt;
  &quot;_sqlite3_set_authorizer&quot;, referenced from:&lt;br/&gt;
      WebCore::SQLiteDatabase::enableAuthorizer(bool)  in SQLiteDatabase.o&lt;br/&gt;
  &quot;_sqlite3_column_name16&quot;, referenced from:&lt;br/&gt;
      WebCore::SQLiteStatement::getColumnName(int)   in SQLiteStatement.o&lt;br/&gt;
  &quot;_sqlite3_errmsg&quot;, referenced from:&lt;br/&gt;
      WebCore::SQLiteDatabase::lastErrorMsg()      in SQLiteDatabase.o&lt;br/&gt;
ld: symbol(s) not found&lt;/p&gt;

&lt;p&gt;A (bad) workaround I&apos;m currently using is just adding &quot;LIBS = -lsqlite3&quot; to src/plugins/sqldrivers/sqlite/sqlite.pro and src/3rdparty/webkit/WebCore/WebCore.pro. &lt;/p&gt;

--- Comments ---

Is any more information needed for this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>197750</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2010-03-09 13:34:10 -0800</bug_when>
    <thetext>I&apos;m going to stick my neck out and christen my editbugs permission by closing this as INVALID. It can&apos;t be recreated by configuring and building webkit trunk so can&apos;t be addressed here. I think it needs to remain a QTBUG. Forgive me if I&apos;m way off whack!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>