Bug 150370 - [regression] build failure: undefined reference to 'sqlite3_errstr'
Summary: [regression] build failure: undefined reference to 'sqlite3_errstr'
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Local Build
Hardware: PC Linux
: P2 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-20 13:42 PDT by David Ronis
Modified: 2015-10-28 15:12 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Ronis 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.
Comment 1 Alexey Proskuryakov 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?
Comment 2 Michael Catanzaro 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.
Comment 3 David Ronis 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