Red Hat Bugzilla – Bug 109061
LTC5248-Missing symbol in compat-libstdc++ library, needed for DB2
Last modified: 2007-11-30 17:06:59 EST
The following has be reported by IBM LTC:
Missing symbol in compat-libstdc++ library, needed for DB2
Hardware Environment: z990
Software Environment: RHEL 3 GA and DB2 V8.1
Steps to Reproduce:
1.[root@rhel30 lib]# nm -o /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
[root@rhel30 lib]# nm -o /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
libstdc++-3-libc6.2-2-2.10.0.so: U __udivdi3@@GLIBC_2.0
libstdc++-3-libc6.2-2-2.10.0.so:0002de94 T __udiv_w_sdiv
__udiv_w_sdiv is certainly not part of the libstdc++ ABI, just a symbol
from libgcc.a exported from the library as a side effect of its implementation.
Programs and shared libraries should be getting their own copies
Anyway, I've forced it by -Wl,-u,__div_w_sdiv into libstdc++-3-libc6.2-2-2.10.0.so
Can you please test:
This appears to have fixed our problem. The instance was created and
we were able to stop and start db2. Was a bit confused by the compat-
gcc file though. Was that there just to provide us the source? We did
a rpmbuild -bb on the spec and it only built the compat-libstdc rpm,
not compat-gcc. Thanks.
-18.104.22.168 is in our current trees, so that should be ok. Setting to
Florian La Roche
An errata has been issued which should help the problem described in this bug report.
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen
this bug report if the solution does not work for you.