1 |
hello fellow gentoo-users, |
2 |
|
3 |
for about a month now, i have not been able to make |
4 |
webkit-gtk-2.14.[2,3] compile. it terminates at the linking step |
5 |
complaining it cant find some sqlite functions. |
6 |
|
7 |
./configure phase reports sqlite3 availability |
8 |
|
9 |
-- Checking for module 'sqlite3' |
10 |
-- Found sqlite3, version 3.13.0 |
11 |
-- Found Sqlite: /usr/include |
12 |
|
13 |
but when it comes time to do the linking it cant find it: |
14 |
|
15 |
FAILED: : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2 |
16 |
-pipe -fno-strict-aliasing -std=c++1y -Wl,--no-undefined -Wl,-O1 |
17 |
-Wl,--as-needed -Wl,--no-keep-memory -fuse-ld=gold |
18 |
-Wl,--disable-new-dtags -fuse-ld=gold -Wl,--disable-new-dtags |
19 |
-Wl,--version-script,/var/tmp/portage/net-libs/webkit-gtk-2.14.2/work/webkitgtk-2.14.2/Source/cmake/gtksymbols.filter |
20 |
-shared -Wl,-soname,libwebkit2gtk-4.0.so.37 -o |
21 |
lib/libwebkit2gtk-4.0.so.37.14.9 @CMakeFiles/WebKit2.rsp && : |
22 |
lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/sql/SQLiteDatabase.cpp.o):SQLiteDatabase.cpp:function |
23 |
void |
24 |
std::__once_call_impl<std::_Bind_simple<WebCore::initializeSQLiteIfNecessary()::{lambda()#1} |
25 |
()> >(): error: undefined reference to 'sqlite3_initialize' |
26 |
lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/sql/SQLiteDatabase.cpp.o):SQLiteDatabase.cpp:function |
27 |
void |
28 |
std::__once_call_impl<std::_Bind_simple<WebCore::initializeSQLiteIfNecessary()::{lambda()#1} |
29 |
()> >(): error: undefined reference to 'sqlite3_errstr' |
30 |
lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/sql/SQLiteDatabase.cpp.o):SQLiteDatabase.cpp:function |
31 |
WebCore::SQLiteDatabase::setCollationFunction(WTF::String const&, |
32 |
std::function<int (int, void const*, int, void const*)>): error: |
33 |
undefined reference to 'sqlite3_create_collation_v2' |
34 |
lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/sql/SQLiteDatabase.cpp.o):SQLiteDatabase.cpp:function |
35 |
WebCore::SQLiteDatabase::removeCollationFunction(WTF::String const&): |
36 |
error: undefined reference to 'sqlite3_create_collation_v2' |
37 |
collect2: error: ld returned 1 exit status |
38 |
|
39 |
the symbols seem to be in the library: |
40 |
|
41 |
strings /usr/lib32/libsqlite3.so | grep create_collation_ |
42 |
sqlite3_create_collation_v2 |
43 |
|
44 |
strings /usr/lib64/libsqlite3.so | grep create_collation_ |
45 |
sqlite3_create_collation_v2 |
46 |
|
47 |
i'm stumped here. i don't see any explicit linking flags. the |
48 |
@CMakefiles/WebKit2.rsp doesn't make sense to me, maybe its in there? |
49 |
|
50 |
k. |
51 |
|
52 |
-- |
53 |
Kelly Hirai |
54 |
Computer Research Specialist |
55 |
409 Love Building (850)-644-1550 |
56 |
Earth Ocean and Atmospheric Science |
57 |
Florida State University |