Gentoo Archives: gentoo-user

From: kelly hirai <kgh03@×××.edu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] webkit-gtk-2.14.2 cant find sqlite3 symbols
Date: Tue, 07 Feb 2017 15:56:01
Message-Id: 5cd5da8a-1ca3-1e79-da96-08ee5542b1d3@fsu.edu
In Reply to: Re: [gentoo-user] webkit-gtk-2.14.2 cant find sqlite3 symbols by Corbin Bird
1 On 02/06/2017 06:31 PM, Corbin Bird wrote:
2 > On 02/06/2017 01:09 PM, kelly hirai wrote:
3 >> hello fellow gentoo-users,
4 >>
5 >> for about a month now, i have not been able to make
6 >> webkit-gtk-2.14.[2,3] compile. it terminates at the linking step
7 >> complaining it cant find some sqlite functions.
8 >>
9 >> ./configure phase reports sqlite3 availability
10 >>
11 >> -- Checking for module 'sqlite3'
12 >> -- Found sqlite3, version 3.13.0
13 >> -- Found Sqlite: /usr/include
14 >>
15 >> but when it comes time to do the linking it cant find it:
16 >>
17 >> FAILED: : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2
18 >> -pipe -fno-strict-aliasing -std=c++1y -Wl,--no-undefined -Wl,-O1
19 >> -Wl,--as-needed -Wl,--no-keep-memory -fuse-ld=gold
20 >> -Wl,--disable-new-dtags -fuse-ld=gold -Wl,--disable-new-dtags
21 >> -Wl,--version-script,/var/tmp/portage/net-libs/webkit-gtk-2.14.2/work/webkitgtk-2.14.2/Source/cmake/gtksymbols.filter
22 >> -shared -Wl,-soname,libwebkit2gtk-4.0.so.37 -o
23 >> lib/libwebkit2gtk-4.0.so.37.14.9 @CMakeFiles/WebKit2.rsp && :
24 >> lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/sql/SQLiteDatabase.cpp.o):SQLiteDatabase.cpp:function
25 >> void
26 >> std::__once_call_impl<std::_Bind_simple<WebCore::initializeSQLiteIfNecessary()::{lambda()#1}
27 >> ()> >(): error: undefined reference to 'sqlite3_initialize'
28 >> lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/sql/SQLiteDatabase.cpp.o):SQLiteDatabase.cpp:function
29 >> void
30 >> std::__once_call_impl<std::_Bind_simple<WebCore::initializeSQLiteIfNecessary()::{lambda()#1}
31 >> ()> >(): error: undefined reference to 'sqlite3_errstr'
32 >> lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/sql/SQLiteDatabase.cpp.o):SQLiteDatabase.cpp:function
33 >> WebCore::SQLiteDatabase::setCollationFunction(WTF::String const&,
34 >> std::function<int (int, void const*, int, void const*)>): error:
35 >> undefined reference to 'sqlite3_create_collation_v2'
36 >> lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/sql/SQLiteDatabase.cpp.o):SQLiteDatabase.cpp:function
37 >> WebCore::SQLiteDatabase::removeCollationFunction(WTF::String const&):
38 >> error: undefined reference to 'sqlite3_create_collation_v2'
39 >> collect2: error: ld returned 1 exit status
40 >>
41 >> the symbols seem to be in the library:
42 >>
43 >> strings /usr/lib32/libsqlite3.so | grep create_collation_
44 >> sqlite3_create_collation_v2
45 >>
46 >> strings /usr/lib64/libsqlite3.so | grep create_collation_
47 >> sqlite3_create_collation_v2
48 >>
49 >> i'm stumped here. i don't see any explicit linking flags. the
50 >> @CMakefiles/WebKit2.rsp doesn't make sense to me, maybe its in there?
51 >>
52 >> k.
53 > Please post the USE flags set for all the following : "dev-db/sqlite:3"
54 > and "net-libs/webkit-gtk:2", "net-libs/webkit-gtk:3",
55 > "net-libs/webkit-gtk:4". ( Yes, webkit-gtk has three slots. 3 slots = 3
56 > possible different sets of use flags. )
57 >
58 > Corbin
59 >
60 thanks for looking at this Corbin. :)
61
62 [I] net-libs/webkit-gtk
63 Available versions:
64 (3) 2.4.11-r1(3/25)
65 (2) 2.4.11-r200
66 (4) 2.12.5(4/37)^t ~2.14.2(4/37)^t ~2.14.3(4/37)^t
67 {(+)X aqua coverage debug doc +egl +geoloc +geolocation gles2
68 gnome-keyring +gstreamer +introspection +jit libnotify nsplugin +opengl
69 spell test wayland +webgl
70 Installed versions:
71 2.4.11-r1(3)(01:04:58 PM 01/13/2017)(X egl geolocation
72 gnome-keyring gstreamer introspection jit opengl spell webgl -aqua
73 -coverage -debug -gles2 -test -wayland)
74 2.12.5(4)^t(01:07:41 AM 12/13/2016)(X egl geolocation gnome-keyring
75 gstreamer introspection jit libnotify opengl spell webgl -aqua -coverage
76 -doc -gles2 -nsplugin -test -wayland)
77
78 [I] dev-db/sqlite
79 Available versions: (3) 3.12.0 ~3.12.1 ~3.12.2 3.13.0 ~3.14.1
80 ~3.14.2 ~3.15.1 ~3.15.2 ~3.16.2
81 {debug doc icu +readline secure-delete static-libs tcl test
82 tools ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64"
83 ABI_X86="32 64 x32"}
84 Installed versions: 3.13.0(3)(11:35:43 AM 02/06/2017)(readline
85 -debug -doc -icu -secure-delete -static-libs -tcl -test -tools
86 ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64"
87 ABI_X86="32 64 -x32")
88
89
90 --
91 Kelly Hirai
92 Computer Research Specialist
93 409 Love Building (850)-644-1550
94 Earth Ocean and Atmospheric Science
95 Florida State University

Replies

Subject Author
Re: [gentoo-user] webkit-gtk-2.14.2 cant find sqlite3 symbols Corbin Bird <corbinbird@×××××××.net>