php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11710 library -lstdc++ / -lg++ not found
Submitted: 2001-06-26 16:34 UTC Modified: 2001-07-25 12:13 UTC
From: bquinton at utk dot edu Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.6 OS: Solaris 2.7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bquinton at utk dot edu
New email:
PHP Version: OS:

 

 [2001-06-26 16:34 UTC] bquinton at utk dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-26 17:23 UTC] bquinton at utk dot 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-27 10:02 UTC] sniper@php.net
Which compiler you are using?

 [2001-07-25 12:13 UTC] kalowsky@php.net
no feedback from user.  if this problem still persists please reopen the bug.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 09:01:34 2025 UTC