http://bugzilla.novell.com/show_bug.cgi?id=555845 Summary: sqlite3 should link libdl Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: max@novell.com ReportedBy: mrueckert@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- --- Comment #0 from Marcus Rückert <mrueckert@novell.com> 2009-11-16 15:24:46 UTC --- the dovecot configure check for sqlite3 fails on factory with the following error message: [[[ configure:30325: checking for sqlite3_open in -lsqlite3 configure:30360: gcc -o conftest -std=gnu99 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fstack-protector -I/usr/lib64 -Wall -W -Wmissing- prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -fPIC -DPIC conftest.c -lsqlite3 -lrt -pie >&5 /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../lib64/libsqlite3.so: undefined reference to `dlsym' /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../lib64/libsqlite3.so: undefined reference to `dlerror' /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../lib64/libsqlite3.so: undefined reference to `dlopen' /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../lib64/libsqlite3.so: undefined reference to `dlclose' collect2: ld returned 1 exit status configure:30367: $? = 1 ]]] the configure check looks like this: [[[ if test $want_sqlite != no; then AC_CHECK_LIB(sqlite3, sqlite3_open, [ AC_CHECK_HEADER(sqlite3.h, [ SQLITE_LIBS="$SQLITE_LIBS -lsqlite3 -lz" AC_DEFINE(HAVE_SQLITE,, Build with SQLite3 support) found_sql_drivers="$found_sql_drivers sqlite" ], [ if test $want_sqlite = yes; then AC_ERROR([Can't build with SQLite support: sqlite3.h not found]) fi ]) ], [ if test $want_sqlite = yes; then AC_ERROR([Can't build with SQLite support: libsqlite3 not found]) fi ]) fi ]]] as you see i dont request an special features from sqlite. so i think if libsqlite3 needs libdl for its functionality, it should like it. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.