ok i have no idea how to fix this. i just re-downloaded libstdc++ but i have to point each command to the directory like this
LD_LIBRARY_PATH=/usr/local/lib make
and then i got this error message:
make[1]: Entering directory /space/php-4.0.3pl1'
/bin/sh /space/php-4.0.3pl1/libtool --silent --mode=link gcc -I. -I/space/php-4
.0.3pl1/ -I/space/php-4.0.3pl1 -I/space/php-4.0.3pl1/main -I/usr/netscape/suites
pot/include -I/space/php-4.0.3pl1/Zend -I/space/php-4.0.3pl1 -I/space/mysql/incl
ude -I/space/php-4.0.3pl1/ext/xml/expat/xmltok -I/space/php-4.0.3pl1/ext/xml/exp
at/xmlparse -I/space/php-4.0.3pl1/TSRM -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHR
EAD_SEMANTICS -D_REENTRANT -DXML_BYTE_ORDER=21 -I../TSRM -g -O2 -pthreads -o l
ibphp4.la -rpath /space/php-4.0.3pl1/libs -avoid-version -L/usr/ucblib -L/usr/lo
cal/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2 -L/space/mysql/lib -R /usr/ucblib -
R /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2 -R /space/mysql/lib stub.lo
Zend/libZend.la sapi/nsapi/libsapi.la main/libmain.la regex/libregex.la ext/my
sql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession
.la ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -lpam -lstdc++
-ldl -lmysqlclient -lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsocket -lsocket -
lgcc
ld: elf error: file stub.lo: unknown type, unable to process using elf(3E) libra
ries
ld: fatal: File processing errors. No output written to .libs/libphp4.so
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory/space/php-4.0.3pl1'
make: *** [all-recursive] Error 1
maybe someone could tell me how to fix the elf error or the stub.lo file. thanks for your help