From:             [EMAIL PROTECTED]
Operating system: Solaris 2.7
PHP version:      4.0.6
PHP Bug Type:     Compile Problem
Bug description:  library -lstdc++ / -lg++ not found

Last linking of php fails. This appears to be a problem with the -rpath = 
/usr/local/homes/beacon/src/php-4.0.6/libs
when changed from -rpath to -R everything compiles fine.

bash-2,00$ /bin/sh /usr/local/homes/beacon/src/php-4.0.6/libtool --silent --mode=link 
c++  -I. -I/usr/local/homes/beacon/src/php-4.0.6/ 
-I/usr/local/homes/beacon/src/php-4.0.6/main -I/usr/local/homes/beacon/src/php-4.0.6 
-I/usr/local/netscape/plugins/include -I/usr/local/homes/beacon/src/php-4.0.6/Zend 
-I/usr/local/include -I/usr/local/homes/beacon/mysql/include 
-I/usr/local/homes/beacon/src/php-4.0.6/ext/xml/expat/xmltok 
-I/usr/local/homes/beacon/src/php-4.0.6/ext/xml/expat/xmlparse 
-I/usr/local/homes/beacon/src/php-4.0.6/TSRM  -D_POSIX_PTHREAD_SEMANTICS 
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -I../TSRM 
-g -O2   -o libphp4.la -rpath /usr/local/homes/beacon/src/php-4.0.6/libs 
-avoid-version -L/usr/ucblib -L/usr/gnu/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1 
-L/usr/local/lib -L/usr/local/homes/beacon/mysql/lib  -R/usr/ucblib 
-R/usr/gnu/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1 -R/usr/local/lib 
-R/usr/local/homes/beacon/mysql/lib stub.lo Zend/libZend.la sapi/nsapi/libsapi.la 
main/libmain.la regex/libregex.la ext/calendar/libcalendar.la ext/ctype/libctype.la 
ext/ftp/libftp.la ext/mhash/libmhash.la ext/mysql/libmysql.la ext/pcre/libpcre.la 
ext/posix/libposix.la ext/recode/librecode.la ext/session/libsession.la 
ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -lpam -lrecode -lstdc++ 
-lg++ -ldl -lmysqlclient 
-lmhash -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket -lpthread -lsocket -lgcc
ld: fatal: library -lstdc++: not found
ld: fatal: library -lg++: not found
ld: fatal: library -lstdc++: not found
ld: fatal: library -lg++: not found
ld: fatal: File processing errors. No output written to .libs/libphp4.so



-- 
Edit Bug report at: http://bugs.php.net/?id=11710&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to