[Pkg-firebird-general] Bug#278924: libfirebird2-classic: libfbclient depends on libpthread
Jakub Horky
"Jakub Horky" <jakub@horky.net>, 278924@bugs.debian.org
Sat, 30 Oct 2004 14:26:04 +0200 (CEST)
Package: libfirebird2-classic
Version: 1.5.1-3
Severity: important
When I try to use a libfbclient.so.1.5.1 shared library, an error about
unresolved symbols occurs. The symbols are pthread_* belonging to
libpthread.so.0 shared library. When I set it in LD_PRELOAD, everything
is OK. This is because the libpthread.so.0 dependency isn't in
libfbclient.so's dynamic block (NEEDED items). This is because when
linking libfbclient, a -lpthread option should be passed to gcc but it
isn't (for libfbclient). So there should be a switch "-pthread" in
CFLAGS in builds/posix/Makefile.in.libfbclient.
Now I see it's already fixed in firebird's CVS:
http://cvs.sourceforge.net/viewcvs.py/firebird/firebird2/builds/posix/Makefile.in.libfbclient#rev1.25
"Use GNU autoconf macros to determine switches required to generate
threaded binaries properly"
Regards,
--
Jakub Horky
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-386
Locale: LANG=C, LC_CTYPE=C
Versions of packages libfirebird2-classic depends on:
ii libc6 2.3.2.ds1-18 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.2-2 GCC support library
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libstdc++5 1:3.3.4-13 The GNU Standard C++ Library v3
-- no debconf information