Gentoo Archives: gentoo-user

From: Corbin Bird <corbinbird@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] webkit-gtk-2.14.2 cant find sqlite3 symbols
Date: Mon, 06 Feb 2017 23:33:26
Message-Id: 58990761.2030909@charter.net
In Reply to: [gentoo-user] webkit-gtk-2.14.2 cant find sqlite3 symbols by kelly hirai
1 On 02/06/2017 01:09 PM, kelly hirai wrote:
2 > hello fellow gentoo-users,
3 >
4 > for about a month now, i have not been able to make
5 > webkit-gtk-2.14.[2,3] compile. it terminates at the linking step
6 > complaining it cant find some sqlite functions.
7 >
8 > ./configure phase reports sqlite3 availability
9 >
10 > -- Checking for module 'sqlite3'
11 > -- Found sqlite3, version 3.13.0
12 > -- Found Sqlite: /usr/include
13 >
14 > but when it comes time to do the linking it cant find it:
15 >
16 > FAILED: : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2
17 > -pipe -fno-strict-aliasing -std=c++1y -Wl,--no-undefined -Wl,-O1
18 > -Wl,--as-needed -Wl,--no-keep-memory -fuse-ld=gold
19 > -Wl,--disable-new-dtags -fuse-ld=gold -Wl,--disable-new-dtags
20 > -Wl,--version-script,/var/tmp/portage/net-libs/webkit-gtk-2.14.2/work/webkitgtk-2.14.2/Source/cmake/gtksymbols.filter
21 > -shared -Wl,-soname,libwebkit2gtk-4.0.so.37 -o
22 > lib/libwebkit2gtk-4.0.so.37.14.9 @CMakeFiles/WebKit2.rsp && :
23 > lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/sql/SQLiteDatabase.cpp.o):SQLiteDatabase.cpp:function
24 > void
25 > std::__once_call_impl<std::_Bind_simple<WebCore::initializeSQLiteIfNecessary()::{lambda()#1}
26 > ()> >(): error: undefined reference to 'sqlite3_initialize'
27 > lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/sql/SQLiteDatabase.cpp.o):SQLiteDatabase.cpp:function
28 > void
29 > std::__once_call_impl<std::_Bind_simple<WebCore::initializeSQLiteIfNecessary()::{lambda()#1}
30 > ()> >(): error: undefined reference to 'sqlite3_errstr'
31 > lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/sql/SQLiteDatabase.cpp.o):SQLiteDatabase.cpp:function
32 > WebCore::SQLiteDatabase::setCollationFunction(WTF::String const&,
33 > std::function<int (int, void const*, int, void const*)>): error:
34 > undefined reference to 'sqlite3_create_collation_v2'
35 > lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/sql/SQLiteDatabase.cpp.o):SQLiteDatabase.cpp:function
36 > WebCore::SQLiteDatabase::removeCollationFunction(WTF::String const&):
37 > error: undefined reference to 'sqlite3_create_collation_v2'
38 > collect2: error: ld returned 1 exit status
39 >
40 > the symbols seem to be in the library:
41 >
42 > strings /usr/lib32/libsqlite3.so | grep create_collation_
43 > sqlite3_create_collation_v2
44 >
45 > strings /usr/lib64/libsqlite3.so | grep create_collation_
46 > sqlite3_create_collation_v2
47 >
48 > i'm stumped here. i don't see any explicit linking flags. the
49 > @CMakefiles/WebKit2.rsp doesn't make sense to me, maybe its in there?
50 >
51 > k.
52 Please post the USE flags set for all the following : "dev-db/sqlite:3"
53 and "net-libs/webkit-gtk:2", "net-libs/webkit-gtk:3",
54 "net-libs/webkit-gtk:4". ( Yes, webkit-gtk has three slots. 3 slots = 3
55 possible different sets of use flags. )
56
57 Corbin

Replies

Subject Author
Re: [gentoo-user] webkit-gtk-2.14.2 cant find sqlite3 symbols kelly hirai <kgh03@×××.edu>