Bug#112237: can't link against /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
Package: libstdc++2.9-glibc2.1
Status: install ok installed
Priority: optional
Section: oldlibs
Installed-Size: 281
Maintainer: Debian GCC maintainers <gcc@packages.debian.org>
Source: egcs1.1 (1.1.2-4)
Version: 2.91.66-4
Depends: libc6 (>= 2.1.2)
Description: The GNU stdc++ library (old egcs version)
This package contains an additional runtime library for C++ programs
built with the gnu/egcs compiler version 1.1.x.
I have a project that ships binaries linked against libstdc++-2.9.0 in
order to achieve the greatest binary compatibility across linux
distributions. I was using a potato box to build these binaries and
then upgraded to woody. Now I can't link (output follows). Note that
I had the same packages installed on the potato box as on the woody
box (i.e. libstdc++-2.10-dev as opposed to libstdc++-2.9-dev).
compile command and link error:
$ gcc -lstdc++-2-libc6.1-1-2.9.0 -lpthread -lm -o /mnt/devel/TestTrack/server/test/export/ttserver /mnt/devel/TestTrack/server/test/server/CEMailImport.o /mnt/devel/TestTrack/server/test/server/CSPThread.o /mnt/devel/TestTrack/server/test/server/CSPThreadMgr.o /mnt/devel/TestTrack/server/test/server/CTTAdminSession.o /mnt/devel/TestTrack/server/test/server/CTTSession.o /mnt/devel/TestTrack/server/test/server/CTTUserSessionMgr.o /mnt/devel/TestTrack/server/test/server/ErrorLogging.o /mnt/devel/TestTrack/server/test/server/MaintenanceThread.o /mnt/devel/TestTrack/server/test/server/SPServer.o /mnt/devel/TestTrack/server/test/server/SeapineDbCache.o /mnt/devel/TestTrack/server/test/server/SeapineServerDB.o /mnt/devel/TestTrack/server/test/server/TTMail.o -L/mnt/devel/TestTrack/server/test/export/lib -lcommon -lcbx -lPowerPlantWin -lDundas -lttxml
/usr/bin/ld: BFD internal error, aborting at ../../bfd/elf32-i386.c line 1771 in elf_i386_relocate_section
/usr/bin/ld: Please report this bug.
collect2: ld returned 1 exit status
Related packages:
ii libstdc++2.10 2.95.2-14 The GNU stdc++ library
ii libstdc++2.10-dev 2.95.4-0.010810 The GNU stdc++ library (development files)
ii libstdc++2.10-glibc2.2 2.95.4-0.010810 The GNU stdc++ library
ii libstdc++2.8 2.90.29-2 The GNU stdc++ library (old egcs version)
ii libstdc++2.9-glibc2.1 2.91.66-4 The GNU stdc++ library (old egcs version)
libstdc++-2.9-glibc2.1 depends on:
ii libc6 2.2.4-1 GNU C Library: Shared libraries and Timezone data
$ uname -a
Linux balder 2.2.18pre21 #2 Thu Apr 19 13:05:01 EDT 2001 i686 unknown
--
(__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
|_/ If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
Reply to: