hello fellow gentoo-users,

for about a month now, i have not been able to make webkit-gtk-2.14.[2,3] compile. it terminates at the linking step complaining it cant find some sqlite functions.

./configure phase reports sqlite3 availability

-- Checking for module 'sqlite3'
--   Found sqlite3, version 3.13.0
-- Found Sqlite: /usr/include

but when it comes time to do the linking it cant find it:

FAILED: : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2 -pipe -fno-strict-aliasing -std=c++1y -Wl,--no-undefined -Wl,-O1 -Wl,--as-needed -Wl,--no-keep-memory -fuse-ld=gold -Wl,--disable-new-dtags -fuse-ld=gold -Wl,--disable-new-dtags -Wl,--version-script,/var/tmp/portage/net-libs/webkit-gtk-2.14.2/work/webkitgtk-2.14.2/Source/cmake/gtksymbols.filter -shared -Wl,-soname,libwebkit2gtk-4.0.so.37 -o lib/libwebkit2gtk-4.0.so.37.14.9 @CMakeFiles/WebKit2.rsp && : lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/sql/SQLiteDatabase.cpp.o):SQLiteDatabase.cpp:function void std::__once_call_impl<std::_Bind_simple<WebCore::initializeSQLiteIfNecessary()::{lambda()#1} ()> >(): error: undefined reference to 'sqlite3_initialize' lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/sql/SQLiteDatabase.cpp.o):SQLiteDatabase.cpp:function void std::__once_call_impl<std::_Bind_simple<WebCore::initializeSQLiteIfNecessary()::{lambda()#1} ()> >(): error: undefined reference to 'sqlite3_errstr' lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/sql/SQLiteDatabase.cpp.o):SQLiteDatabase.cpp:function WebCore::SQLiteDatabase::setCollationFunction(WTF::String const&, std::function<int (int, void const*, int, void const*)>): error: undefined reference to 'sqlite3_create_collation_v2' lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/sql/SQLiteDatabase.cpp.o):SQLiteDatabase.cpp:function WebCore::SQLiteDatabase::removeCollationFunction(WTF::String const&): error: undefined reference to 'sqlite3_create_collation_v2'
collect2: error: ld returned 1 exit status

the symbols seem to be in the library:

strings /usr/lib32/libsqlite3.so | grep  create_collation_
sqlite3_create_collation_v2

strings /usr/lib64/libsqlite3.so | grep  create_collation_
sqlite3_create_collation_v2

i'm stumped here. i don't see any explicit linking flags. the @CMakefiles/WebKit2.rsp doesn't make sense to me, maybe its in there?

k.

--
Kelly Hirai
Computer Research Specialist
409 Love Building  (850)-644-1550
Earth Ocean and Atmospheric Science
Florida State University


Reply via email to