RESOLVED FIXED 150370
[regression] build failure: undefined reference to 'sqlite3_errstr'
https://bugs.webkit.org/show_bug.cgi?id=150370
Summary [regression] build failure: undefined reference to 'sqlite3_errstr'
David Ronis
Reported 2015-10-20 13:42:31 PDT
I'm trying to upgrade webkitgtk+ to version 2.10.2. The build dies with: Linking CXX shared library ../../lib/libwebkit2gtk-4.0.so ../../lib/libWebCoreGTK.a(../../lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/sql/SQLiteDatabase.cpp.o):SQLiteDatabase.cpp:function _ZSt16__once_call_implISt12_Bind_simpleIFZN7WebCore14SQLiteDatabaseC4EvEUlvE_vEEEvv: error: undefined reference to 'sqlite3_errstr' I've got sqlite-3.9.1 installed.
Attachments
Alexey Proskuryakov
Comment 1 2015-10-20 22:28:19 PDT
We use this function when sqlite is 3.7.15 or higher, which is in accordance with <http://www.sqlite.org/changes.html>. Surely it didn't get removed later?
Michael Catanzaro
Comment 2 2015-10-25 16:15:22 PDT
No clue what is wrong for you... you're sure you don't accidentally have multiple versions of SQLite installed? See bug #149215 for the OS X version of this bug, caused by using SQLite headers that were newer than the installed library.
David Ronis
Comment 3 2015-10-28 15:12:34 PDT
You were correct. There was an older version sqlite3 that was being picked up. Removing it from the pkt search path fixed the problem. Thanks
Note You need to log in before you can comment on or make changes to this bug.