Bug #11710 Updated: library -lstdc++ / -lg++ not found
| From: | kalowsky@php.net | Date: | Wed, 25 Jul 2001 16:13:29 +0000 |
| Subject: | Bug #11710 Updated: library -lstdc++ / -lg++ not found | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-60973@lists.php.net to get a copy of this message | ||
ID: 11710
Updated by: kalowsky
Reported By: bquinton@utk.edu
Old Status: Feedback
Status: Closed
Bug Type: Compile Failure
Operating System: Solaris 2.7
PHP Version: 4.0.6
New Comment:
no feedback from user. if this problem still persists please reopen the bug.
Previous Comments:
------------------------------------------------------------------------
[2001-06-27 10:02:04] sniper@php.net
Which compiler you are using?
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=11710&edit=1