Re: [blfs-support] Problem with evolution-data-server-3.36.5
On Thu, 2020-09-24 at 15:27 +0100, Ken Moffat via blfs-support wrote: > On Thu, Sep 24, 2020 at 08:45:51AM +0200, filbar--- via blfs-support > wrote: > > Hello, > > my output is: > > > > nm /usr/lib/libsoftokn3.so | grep sqlite > > U sqlite3_bind_blob@@SQLITE_3 > > U sqlite3_bind_int@@SQLITE_3 > > U sqlite3_bind_text@@SQLITE_3 > > U sqlite3_busy_timeout@@SQLITE_3 > > U sqlite3_close@@SQLITE_3 > > U sqlite3_column_blob@@SQLITE_3 > > U sqlite3_column_bytes@@SQLITE_3 > > U sqlite3_column_int@@SQLITE_3 > > U sqlite3_column_text@@SQLITE_3 > > U sqlite3_exec@@SQLITE_3 > > U sqlite3_file_control@@SQLITE_3 > > U sqlite3_finalize@@SQLITE_3 > > U sqlite3_free@@SQLITE_3 > > U sqlite3_mprintf@@SQLITE_3 > > U sqlite3_open_v2@@SQLITE_3 > > U sqlite3_prepare_v2@@SQLITE_3 > > U sqlite3_reset@@SQLITE_3 > > U sqlite3_step@@SQLITE_3 > > U sqlite3_temp_directory@@SQLITE_3 > > > > Thanks, > > Filip Bartmann > > > *please* don't top post. > > To summarise, your items are all @SQLITE3, for the rest of us that > version specification is missing. > > From > http://lists.linuxfromscratch.org/pipermail/blfs-support/2015-June/076782.html > > Armin's suggestion to a similar problem was that nss had been built > with its bundled sqlite instead of the system version. > > I can confirm that building without the NSS_USE_SYSTEM_SQLITE=1 switch produces versionned symbols in libsoftokn3.so. The libsqlite3.so library built by the build system of nss in that case has versioned symbols. But if sqlite is rebuilt _after_ nss, it is replaced by the library with non versioned symbols. Normally, rebuilding nss after that with the switch should allow things to run ok... But as Ken suggested, there might be a typo in the nss options (perhaps a missing backslash, or a space after the backslash before the newline (this is hidden, so may happen once in a while...). Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Problem with evolution-data-server-3.36.5
On Thu, Sep 24, 2020 at 08:45:51AM +0200, filbar--- via blfs-support wrote: > Hello, > my output is: > > nm /usr/lib/libsoftokn3.so | grep sqlite > U sqlite3_bind_blob@@SQLITE_3 > U sqlite3_bind_int@@SQLITE_3 > U sqlite3_bind_text@@SQLITE_3 > U sqlite3_busy_timeout@@SQLITE_3 > U sqlite3_close@@SQLITE_3 > U sqlite3_column_blob@@SQLITE_3 > U sqlite3_column_bytes@@SQLITE_3 > U sqlite3_column_int@@SQLITE_3 > U sqlite3_column_text@@SQLITE_3 > U sqlite3_exec@@SQLITE_3 > U sqlite3_file_control@@SQLITE_3 > U sqlite3_finalize@@SQLITE_3 > U sqlite3_free@@SQLITE_3 > U sqlite3_mprintf@@SQLITE_3 > U sqlite3_open_v2@@SQLITE_3 > U sqlite3_prepare_v2@@SQLITE_3 > U sqlite3_reset@@SQLITE_3 > U sqlite3_step@@SQLITE_3 > U sqlite3_temp_directory@@SQLITE_3 > > Thanks, > Filip Bartmann > *please* don't top post. To summarise, your items are all @SQLITE3, for the rest of us that version specification is missing. From http://lists.linuxfromscratch.org/pipermail/blfs-support/2015-June/076782.html Armin's suggestion to a similar problem was that nss had been built with its bundled sqlite instead of the system version. Looking at my own log for nss-3.56, the only references to sqlite are a lot of ' -lsqlite3 '. If you logged your build, I assume it showed sqlite code from (nss/)libsqlite/sqlite3.c getting compiled. If that is right, the question then becomes: why do the book's commands, particularly the last line, not work on your system ? Pierre already suggested that you force that setting, but in the meantime, what do you get if you run [ -f /usr/include/sqlite3.h ] && echo NSS_USE_SYSTEM_SQLITE=1 ? It ought to echo that setting of the envvar. Perhaps for some reason sqlite did not actually get installed ? Alternatively, perhaps a backslash on an earlier line in nss was missed ? ĸen -- A really good hydrophobe has to be trained on dehydrated water from birth. I mean, that costs a fortune in magic alone. But they make great weather magicians. Rain clouds just give up and go away. -- The Colour of Magic -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Problem with evolution-data-server-3.36.5
Hello, my output is: nm /usr/lib/libsoftokn3.so | grep sqlite U sqlite3_bind_blob@@SQLITE_3 U sqlite3_bind_int@@SQLITE_3 U sqlite3_bind_text@@SQLITE_3 U sqlite3_busy_timeout@@SQLITE_3 U sqlite3_close@@SQLITE_3 U sqlite3_column_blob@@SQLITE_3 U sqlite3_column_bytes@@SQLITE_3 U sqlite3_column_int@@SQLITE_3 U sqlite3_column_text@@SQLITE_3 U sqlite3_exec@@SQLITE_3 U sqlite3_file_control@@SQLITE_3 U sqlite3_finalize@@SQLITE_3 U sqlite3_free@@SQLITE_3 U sqlite3_mprintf@@SQLITE_3 U sqlite3_open_v2@@SQLITE_3 U sqlite3_prepare_v2@@SQLITE_3 U sqlite3_reset@@SQLITE_3 U sqlite3_step@@SQLITE_3 U sqlite3_temp_directory@@SQLITE_3 Thanks, Filip Bartmann On Wed, 23 Sep 2020 18:51:40 +0200 Pierre Labastie via blfs-support wrote: > On Wed, 2020-09-23 at 11:11 +0200, filbar--- via blfs-support wrote: > > Hello I wrote, that I try to recompile both of them :(. > > Ah yes, sorry, I've read too fast... > > > I try them even > > with this options. :( I don't deviate from LFS or BLFS books. > > > > The ldd output is: > > --- > > -- > > /usr/lib/libsoftokn3.so: /usr//lib/libsqlite3.so: no version > > information available (required by /usr/lib/libsoftokn3.so) > > That is the problem, but why (I do not have that)? > > > linux-vdso.so.1 (0x7ffdc748e000) > > libsqlite3.so => /usr//lib/libsqlite3.so (0x7fb21ce63000) > > libnssutil3.so => /usr//lib/libnssutil3.so > > (0x7fb21ce31000) > > libplc4.so => /usr//lib/libplc4.so (0x7fb21ce29000) > > libplds4.so => /usr//lib/libplds4.so (0x7fb21ce23000) > > libnspr4.so => /usr//lib/libnspr4.so (0x7fb21cdd) > > libpthread.so.0 => /lib/libpthread.so.0 (0x7fb21cdae000) > > libdl.so.2 => /lib/libdl.so.2 (0x7fb21cda6000) > > libc.so.6 => /lib/libc.so.6 (0x7fb21cbe1000) > > libz.so.1 => /lib/libz.so.1 (0x7fb21cbc4000) > > libm.so.6 => /lib/libm.so.6 (0x7fb21ca8) > > librt.so.1 => /lib/librt.so.1 (0x7fb21ca76000) > > /lib64/ld-linux-x86-64.so.2 (0x7fb21d002000) > > > > > > Can you try "nm /usr/lib/libsoftokn3.so | grep sqlite"? to see if it > is different from mine: > U sqlite3_bind_blob > U sqlite3_bind_int > U sqlite3_bind_text > U sqlite3_busy_timeout > U sqlite3_close > U sqlite3_column_blob > U sqlite3_column_bytes > U sqlite3_column_int > U sqlite3_column_text > U sqlite3_exec > U sqlite3_file_control > U sqlite3_finalize > U sqlite3_free > U sqlite3_mprintf > U sqlite3_open_v2 > U sqlite3_prepare_v2 > U sqlite3_reset > U sqlite3_step > U sqlite3_temp_directory > > I do not have many ideas... > > Pierre > -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Problem with evolution-data-server-3.36.5
On Wed, 2020-09-23 at 11:11 +0200, filbar--- via blfs-support wrote: > Hello I wrote, that I try to recompile both of them :(. Ah yes, sorry, I've read too fast... > I try them even > with this options. :( I don't deviate from LFS or BLFS books. > > The ldd output is: > --- > -- > /usr/lib/libsoftokn3.so: /usr//lib/libsqlite3.so: no version > information available (required by /usr/lib/libsoftokn3.so) That is the problem, but why (I do not have that)? > linux-vdso.so.1 (0x7ffdc748e000) > libsqlite3.so => /usr//lib/libsqlite3.so (0x7fb21ce63000) > libnssutil3.so => /usr//lib/libnssutil3.so > (0x7fb21ce31000) > libplc4.so => /usr//lib/libplc4.so (0x7fb21ce29000) > libplds4.so => /usr//lib/libplds4.so (0x7fb21ce23000) > libnspr4.so => /usr//lib/libnspr4.so (0x7fb21cdd) > libpthread.so.0 => /lib/libpthread.so.0 (0x7fb21cdae000) > libdl.so.2 => /lib/libdl.so.2 (0x7fb21cda6000) > libc.so.6 => /lib/libc.so.6 (0x7fb21cbe1000) > libz.so.1 => /lib/libz.so.1 (0x7fb21cbc4000) > libm.so.6 => /lib/libm.so.6 (0x7fb21ca8) > librt.so.1 => /lib/librt.so.1 (0x7fb21ca76000) > /lib64/ld-linux-x86-64.so.2 (0x7fb21d002000) > > Can you try "nm /usr/lib/libsoftokn3.so | grep sqlite"? to see if it is different from mine: U sqlite3_bind_blob U sqlite3_bind_int U sqlite3_bind_text U sqlite3_busy_timeout U sqlite3_close U sqlite3_column_blob U sqlite3_column_bytes U sqlite3_column_int U sqlite3_column_text U sqlite3_exec U sqlite3_file_control U sqlite3_finalize U sqlite3_free U sqlite3_mprintf U sqlite3_open_v2 U sqlite3_prepare_v2 U sqlite3_reset U sqlite3_step U sqlite3_temp_directory I do not have many ideas... Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Problem with evolution-data-server-3.36.5
Hello I wrote, that I try to recompile both of them :(. I try them even with this options. :( I don't deviate from LFS or BLFS books. The ldd output is: - /usr/lib/libsoftokn3.so: /usr//lib/libsqlite3.so: no version information available (required by /usr/lib/libsoftokn3.so) linux-vdso.so.1 (0x7ffdc748e000) libsqlite3.so => /usr//lib/libsqlite3.so (0x7fb21ce63000) libnssutil3.so => /usr//lib/libnssutil3.so (0x7fb21ce31000) libplc4.so => /usr//lib/libplc4.so (0x7fb21ce29000) libplds4.so => /usr//lib/libplds4.so (0x7fb21ce23000) libnspr4.so => /usr//lib/libnspr4.so (0x7fb21cdd) libpthread.so.0 => /lib/libpthread.so.0 (0x7fb21cdae000) libdl.so.2 => /lib/libdl.so.2 (0x7fb21cda6000) libc.so.6 => /lib/libc.so.6 (0x7fb21cbe1000) libz.so.1 => /lib/libz.so.1 (0x7fb21cbc4000) libm.so.6 => /lib/libm.so.6 (0x7fb21ca8) librt.so.1 => /lib/librt.so.1 (0x7fb21ca76000) /lib64/ld-linux-x86-64.so.2 (0x7fb21d002000) - Thanks, Filip Bartmannm On Wed, 23 Sep 2020 11:04:05 +0200 Pierre Labastie via blfs-support wrote: > On Wed, 2020-09-23 at 10:20 +0200, filbar--- via blfs-support wrote: > > Hello I have problem with compiling evolution-data-server-3.36.5: > > --- > > > > g-ir-scanner: link: /usr/bin/cc -o /build/evolution-data-server- > > 3.36.5/build/src/camel/tmp-introspect48zuxr_0/Camel-1.2 > > /build/evolution-data-server-3.36.5/build/src/camel/tmp- > > introspect48zuxr_0/Camel-1.2.o -L. -Wl,-rpath,. -Wl,--no-as-needed > > -L/build/evolution-data-server-3.36.5/build -Wl,- > > rpath,/build/evolution-data-server-3.36.5/build -L/build/evolution- > > data-server-3.36.5/build/src -Wl,-rpath,/build/evolution-data-server- > > 3.36.5/build/src -L/build/evolution-data-server- > > 3.36.5/build/src/camel -Wl,-rpath,/build/evolution-data-server- > > 3.36.5/build/src/camel -L/usr/lib -Wl,-rpath,/usr/lib -lcamel-1.2 > > -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread > > -lglib-2.0 > > /usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to > > `sqlite3_reset@SQLITE_3' > > /usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to > > > > libsoftokn3 is a library from nss. Maybe you could try recompiling > that. As a first check, you could try: > ldd /usr/lib/libsoftokn3.so > > and see if it finds sqlite. We have: > $([ -f /usr/include/sqlite3.h ] && echo NSS_USE_SYSTEM_SQLITE=1) > > in the "make" command for nss. Maybe double check that it does what you > want. Or replace with just NSS_USE_SYSTEM_SQLITE=1. > > Pierre > > -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] Problem with evolution-data-server-3.36.5
On Wed, 2020-09-23 at 10:20 +0200, filbar--- via blfs-support wrote: > Hello I have problem with compiling evolution-data-server-3.36.5: > --- > > g-ir-scanner: link: /usr/bin/cc -o /build/evolution-data-server- > 3.36.5/build/src/camel/tmp-introspect48zuxr_0/Camel-1.2 > /build/evolution-data-server-3.36.5/build/src/camel/tmp- > introspect48zuxr_0/Camel-1.2.o -L. -Wl,-rpath,. -Wl,--no-as-needed > -L/build/evolution-data-server-3.36.5/build -Wl,- > rpath,/build/evolution-data-server-3.36.5/build -L/build/evolution- > data-server-3.36.5/build/src -Wl,-rpath,/build/evolution-data-server- > 3.36.5/build/src -L/build/evolution-data-server- > 3.36.5/build/src/camel -Wl,-rpath,/build/evolution-data-server- > 3.36.5/build/src/camel -L/usr/lib -Wl,-rpath,/usr/lib -lcamel-1.2 > -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread > -lglib-2.0 > /usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to > `sqlite3_reset@SQLITE_3' > /usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to > libsoftokn3 is a library from nss. Maybe you could try recompiling that. As a first check, you could try: ldd /usr/lib/libsoftokn3.so and see if it finds sqlite. We have: $([ -f /usr/include/sqlite3.h ] && echo NSS_USE_SYSTEM_SQLITE=1) in the "make" command for nss. Maybe double check that it does what you want. Or replace with just NSS_USE_SYSTEM_SQLITE=1. Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
[blfs-support] Problem with evolution-data-server-3.36.5
Hello I have problem with compiling evolution-data-server-3.36.5: -- /usr/include/regex.h:645: syntax error, unexpected RESTRICT in ' regmatch_t __pmatch[__restrict],' at '__restrict' /usr/include/regex.h:645: syntax error, unexpected RESTRICT in ' regmatch_t __pmatch[__restrict],' at '__restrict' /usr/bin/cc -DCAMEL_COMPILATION -I/build/evolution-data-server-3.36.5/build/src/camel -I/build/evolution-data-server-3.36.5/build -I/build/evolution-data-server-3.36.5/build/src -I/build/evolution-data-server-3.36.5/src/camel -I/build/evolution-data-server-3.36.5 -I/build/evolution-data-server-3.36.5/src -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/build/evolution-data-server-3.36.5/build/src/camel -I/build/evolution-data-server-3.36.5/build -I/build/evolution-data-server-3.36.5/build/src -I/build/evolution-data-server-3.36.5/src/camel -I/build/evolution-data-server-3.36.5 -I/build/evolution-data-server-3.36.5/src -c /build/evolution-data-server-3.36.5/build/src/camel/tmp-introspecttwg914ce/Camel-1.2.c -o /build/evolution-data-server-3.36.5/build/src/camel/tmp-introspecttwg914 ce/Camel -1.2.o -Wno-deprecated-declarations -pthread /usr/bin/cc -DCAMEL_COMPILATION -I/build/evolution-data-server-3.36.5/build/src/camel -I/build/evolution-data-server-3.36.5/build -I/build/evolution-data-server-3.36.5/build/src -I/build/evolution-data-server-3.36.5/src/camel -I/build/evolution-data-server-3.36.5 -I/build/evolution-data-server-3.36.5/src -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/build/evolution-data-server-3.36.5/build/src/camel -I/build/evolution-data-server-3.36.5/build -I/build/evolution-data-server-3.36.5/build/src -I/build/evolution-data-server-3.36.5/src/camel -I/build/evolution-data-server-3.36.5 -I/build/evolution-data-server-3.36.5/src -c /build/evolution-data-server-3.36.5/build/src/camel/tmp-introspect48zuxr_0/Camel-1.2.c -o /build/evolution-data-server-3.36.5/build/src/camel/tmp-introspect48zuxr _0/Camel -1.2.o -Wno-deprecated-declarations -pthread g-ir-scanner: link: /usr/bin/cc -o /build/evolution-data-server-3.36.5/build/src/camel/tmp-introspecttwg914ce/Camel-1.2 /build/evolution-data-server-3.36.5/build/src/camel/tmp-introspecttwg914ce/Camel-1.2.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/build/evolution-data-server-3.36.5/build -Wl,-rpath,/build/evolution-data-server-3.36.5/build -L/build/evolution-data-server-3.36.5/build/src -Wl,-rpath,/build/evolution-data-server-3.36.5/build/src -L/build/evolution-data-server-3.36.5/build/src/camel -Wl,-rpath,/build/evolution-data-server-3.36.5/build/src/camel -L/usr/lib -Wl,-rpath,/usr/lib -lcamel-1.2 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 g-ir-scanner: link: /usr/bin/cc -o /build/evolution-data-server-3.36.5/build/src/camel/tmp-introspect48zuxr_0/Camel-1.2 /build/evolution-data-server-3.36.5/build/src/camel/tmp-introspect48zuxr_0/Camel-1.2.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/build/evolution-data-server-3.36.5/build -Wl,-rpath,/build/evolution-data-server-3.36.5/build -L/build/evolution-data-server-3.36.5/build/src -Wl,-rpath,/build/evolution-data-server-3.36.5/build/src -L/build/evolution-data-server-3.36.5/build/src/camel -Wl,-rpath,/build/evolution-data-server-3.36.5/build/src/camel -L/usr/lib -Wl,-rpath,/usr/lib -lcamel-1.2 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 /usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to `sqlite3_reset@SQLITE_3' /usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to `sqlite3_exec@SQLITE_3' /usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to `sqlite3_finalize@SQLITE_3' /usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to `sqlite3_temp_directory@SQLITE_3' /usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to `sqlite3_step@SQLITE_3' /usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to `sqlite3_free@SQLITE_3' /usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to `sqlite3_column_int@SQLITE_3' /usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to `sqlite3_bind_blob@SQLITE_3' /usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to `sqlite3_open_v2@SQLITE_3' /usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to `sqlite3_close@SQLITE_3' /usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to `sqlite3_column_text@SQLITE_3' /usr/bin/ld: /usr/lib/libsoftokn3.so: undefined reference to `sqlite3_bind_int@SQLITE_3' /usr/bin/ld: