Bug #11710 Updated: library -lstdc++ / -lg++ not found
| From: | sniper@php.net | Date: | Wed, 27 Jun 2001 14:02:05 +0000 |
| Subject: | Bug #11710 Updated: library -lstdc++ / -lg++ not found | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58210@lists.php.net to get a copy of this message | ||
ID: 11710
Updated by: sniper
Reported By: bquinton@utk.edu
Old-Status: Open
Status: Feedback
Old-Bug Type: Compile Problem
Bug Type: Compile Failure
Operating system:
PHP Version: 4.0.6
Assigned To:
Comments:
Which compiler you are using?
Previous Comments:
---------------------------------------------------------------------------
[2001-06-26 17:23:35] bquinton@utk.edu
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.
---------------------------------------------------------------------------
[2001-06-26 16:34:58] bquinton@utk.edu
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
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11710&edit=2