Bug#268987: openoffice.org: setup.bin: relocation error: libcomphelp3gcc3.so: undefined symbol
Steve Langasek wrote:
Please forward the output of the following commands to the BTS
(requires installing binutils and debsums, if you don't already have
them installed):
debsums libstlport4.6
nm -D /usr/lib/libstlport_gcc.so.4.6 | grep _ZN4_STL12__node_allocILb1ELi0EE11_M_allocateEj
ldd /usr/lib/openoffice/program/libcomphelp3gcc3.so
Here's the output:
....................................................................................................
$ debsums libstlport4.6
usr/share/doc/libstlport4.6/README
OK
usr/share/doc/libstlport4.6/copyright
OK
usr/share/doc/libstlport4.6/changelog.Debian.gz
OK
usr/lib/libstlport_gcc.so.4.6
OK
$ nm -D /usr/lib/libstlport_gcc.so.4.6 | grep
_ZN4_STL12__node_allocILb1ELi0EE11_M_ allocateEj
00044fe0 W _ZN4_STL12__node_allocILb1ELi0EE11_M_allocateEj
$ ldd /usr/lib/openoffice/program/libcomphelp3gcc3.so
libsal.so.3 => not found
libcppuhelpergcc3.so.3 => not found
libcppu.so.3 => not found
libvos3gcc3.so => not found
libdl.so.2 => /lib/tls/libdl.so.2 (0x400c9000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x400cc000)
libm.so.6 => /lib/tls/libm.so.6 (0x400dc000)
libstlport_gcc.so.4.6 => /usr/local/lib/libstlport_gcc.so.4.6
(0x4134b000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x400ff000)
libc.so.6 => /lib/tls/libc.so.6 (0x401b9000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3
(0x402f4000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4033d000)
....................................................................................................
I spotted the '/usr/local/lib/libstlport_gcc.so.4.6' library in the
output. I now dimly remember installing that library in January for
some project or other. Upon removing it and running ldconfig to create
the proper linkages I now get the output:
....................................................................................................
$ ldd /usr/lib/openoffice/program/libcomphelp3gcc3.so
libsal.so.3 => not found
libcppuhelpergcc3.so.3 => not found
libcppu.so.3 => not found
libvos3gcc3.so => not found
libdl.so.2 => /lib/tls/libdl.so.2 (0x400c9000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x400cc000)
libm.so.6 => /lib/tls/libm.so.6 (0x400dc000)
libstlport_gcc.so.4.6 => /usr/lib/libstlport_gcc.so.4.6 (0x400ff000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x401c5000)
libc.so.6 => /lib/tls/libc.so.6 (0x4027f000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x403ba000)
....................................................................................................
What's more, OOo now works!
Thanks very much to you and Tom for your debugging help. I never would
have figured it out without assistance.
Please mark the bug as closed.
Regards,
David.
Reply to: