ID: 11710 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Compile Problem Operating system: Solaris 2.7 PHP Version: 4.0.6 Description: library -lstdc++ / -lg++ not found Look like it's a problem with Sun's ld not being knowing what rpath is. If I LD=c++ then configure then make. Everything seems fine. Previous Comments: --------------------------------------------------------------------------- [2001-06-26 16:34:58] [EMAIL PROTECTED] 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 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=11710 -- 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]