Recently, Somebody Somewhere wrote these words
> Hello,
>> I am using Scientific Linux 3.0.5 and am trying to compile *any*
> version of Tripwire with it. I got two versions currently, 2.3.1 and
> 2.4.0.1 which both fail. The first one is (2.3.1) is available as a
> RPM/src.RPM from FC3 but it fails on the following :
>> warning: tripwire-2.3.1-21.i386.rpm: V3 DSA signature: NOKEY, key ID 1ac70ce6
> error: Failed dependencies:
> libstdc++.so.6(GLIBCXX_3.4) is needed by tripwire-2.3.1-21
>> Of course, the one i have on the system is libstdc++.so.5 so i went
> for the src.rpm which then gives :
>> + ./configure -q path_to_vi=/bin/vi
> path_to_sendmail=/usr/sbin/sendmail --prefix=/
> --sysconfdir=/etc/tripwire --sbindir=/usr/sbin --libdir=/var/lib
> --mandir=/usr/share/man
> configure: error: No posix threads detected, cannot continue.
> error: Bad exit status from /var/tmp/rpm-tmp.99083 (%build)
>> I did install devel packages with no success, namely :
>> rpm-build-4.2.3-24_nonptl
> openssl-devel-0.9.7a-33.17
> libstdc++-ssa-3.5ssa-0.20030801.48
>> My world is ruled by Debian rather than RHEL clones, so if anyone
> knows how to fix this, i'd be really happy :)
It wants glibc-2.3.5 and here's why:
Your basic toolchain in linux consists of gcc, glibc, & kernel
headers. Try
readelf -V /usr/lib/libstdc++.so
I get this
010: 2 (GLIBCXX_3.4) 2 (GLIBCXX_3.4) 2 (GLIBCXX_3.4) 6
(CXXABI_1.3)
and a *lot* of other lines from it on glibc-2.3.5 systems. The one
above is a hardened system, so things are weird there.
My glibc-2.3.2 system has libstdc++.so.5.0.5 from glibc-2.3.2
and readelf -V looks like this
0x0038: Rev: 1 Flags: none Index: 3 Cnt: 2 Name: GLIBCPP_3.2.1
0x0054: Parent 1: GLIBCPP_3.2
If there is some element precompiled with a different
version of glibc, it may barf in action. It is certainly barfing
under rpm. You can force that with things like --force
--ignore<different things>, but what will happen next?
Mebbe update to a glibc-2.3.5 system?
--
With best Regards,
Declan Moriarty.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!