[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

make of PHP 4.3.0 on RH 7.2 fails with "cannot find -lstdc++"



Title: Message
I am trying to build PHP 4.3.0 on RH 7.2, running Apache/1.3.22. I finally managed to
have "./configure"d successfully, but when now running "make", I get the following output:
 
...
/bin/sh libtool --silent ......... (many many more options) ....... -o sapi/cli/php
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
 
I have searched the web in all directions, learned that this usually indicates
that libstdc++ is missing, and thus installed the following packages:
 
* compat-libstdc++-6.2-2.9.0.16.i386.rpm
* libstdc++-2.96-112.7.2.i386.rpm
* libstdc++-devel-2.96-112.7.2.i386.rpm
 
The version of gcc I am using is: "gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.2)"
 
I thought that maybe a certain file is missing in /usr/lib,
so here's the list of libstdc++* files there:
 
libstdc++-2-libc6.1-1-2.9.0.so*
libstdc++-3-libc6.2-2-2.10.0.a
libstdc++-3-libc6.2-2-2.10.0.so*
libstdc++-libc6.1-1.so.2 -> libstdc++-2-libc6.1-1-2.9.0.so*
libstdc++-libc6.2-2.a.3 -> libstdc++-3-libc6.2-2-2.10.0.a
libstdc++-libc6.2-2.so.3 -> libstdc++-3-libc6.2-2-2.10.0.so*
libstdc++.so.2.7.2 -> libstdc++.so.2.7.2.8*
libstdc++.so.2.7.2.8*
libstdc++.so.2.8 -> libstdc++.so.2.8.0*
libstdc++.so.2.8.0*
libstdc++.so.2.9 -> libstdc++.so.2.9.dummy*
libstdc++.so.2.9.dummy*
 
Is anything I need there? Any files redundant?
 
I would appreciate any hint you could give...
 
Thank you in advance and
 
Happy New Year,
 
Joerg.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]