Hello, I have been suggested to ask for help here; please bounce me somewhere else if I am writing to the wrong address. I got a bug reported on libsablot0c102 package, which appeared on the migration to gcc-3.2. Do you recommend adding -lstdc++, or do you have a better advice? Thanks a lot, and please excuse me if this mail should not be sent to you. Bug report forward follows.
Kind regards -- Fernando Sanchez - [EMAIL PROTECTED] ---------- Forwarded message ---------- Date: Sun, 02 Mar 2003 15:36:48 -0600 From: Steve Langasek <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: Bug#183154: references symbols from libstdc++, isn't linked against libstdc++: PHP can't load Resent-Date: Sun, 02 Mar 2003 21:48:03 GMT Resent-From: Steve Langasek <[EMAIL PROTECTED]> Resent-To: debian-bugs-dist@lists.debian.org Resent-cc: Fernando Sanchez <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Package: libsablot0c102 Version: 0.97-5 Severity: grave Tags: sid This bug is related to 179724. The following undefined references in libsablot.so.0 are provided by libstdc++: $ nm -Du /usr/lib/libsablot.so.0.97.0 |grep '_[JZ]' _Jv_RegisterClasses _ZTVN10__cxxabiv117__class_type_infoE _ZTVN10__cxxabiv120__si_class_type_infoE _ZTVN10__cxxabiv121__vmi_class_type_infoE _ZdaPv _ZdlPv _Znam _Znwm However, libsablot.so.0 isn't linked against libstdc++. As a result, any DSO that links against libsablot.so.0 (such as php4-xslt, and probably libxml-sablot-perl) is unusable because these undefined symbols will not be resolvable at load time (i.e., when calling dlopen with RTLD_NOW). It appears that sablotron, though written in C++, does not explicitly *use* libstdc++ for anything, or this problem would have been reported before. As a result, this might legitimately be considered a toolchain bug; I recommend consulting the gcc team for advice on how to fix this, since it clearly was not a problem with gcc 2.9x. Worst case, you can add -lstdc++ (possibly specifying -static as well) to the library link list. -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux minbar 2.4.19-xfs #1 Sun Dec 29 14:39:07 CST 2002 i686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 Versions of packages libsablot0c102 depends on: ii libc6 2.3.1-11 GNU C Library: Shared libraries an ii libexpat1 1.95.6-3 XML parsing C library - runtime li -- no debconf information