#39155 [NEW]: linking issues with make install

From: Date: Sat, 14 Oct 2006 00:14:39 +0000
Subject: #39155 [NEW]: linking issues with make install
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-103534@lists.php.net to get a copy of this message
From: ruiner at netslacking dot net Operating system: Solaris 9 PHP version: 5.1.6 PHP Bug Type: *Compile Issues Bug description: linking issues with make install Description: ------------ Similar issues to http://bugs.php.net/36901 Linking fails upon make install: Installing PEAR environment: /usr/local/lib/php/ ld.so.1: php: fatal: relocation error: file /usr/share/src/php-5.1.6/sapi/cli/php: symbol: referenced symbol not found The same symbol reference error comes up when I try to run apachectl start (or restart). My config line: ./configure --with-apxs2=/www/usr/apache/bin/apxs --with-mysql=/usr/local/mysql --with-mysqli --with-gettext --with-openssl --with-libxml-dir=/usr/local/lib --enable-soap --with-xmlrpc --enable-xslt --enable-libgcc --enable-static I tried making a static build to circumvent linking issues, but it still is trying to make it shared/dynamic. I downloaded, built and installed GNU binutils (including GNU ld) but still have problems (and yes, I made distclean before ./configure'ing again). Could this be a problem with ld.so itself? That file was not updated upon installation of new ld, so I'm guessing it's the default Solaris one. How/where do I get a different one? I have also tried to get a precompiled version, but it still has issues finding xmlTextReaderGetAttribute. I have built a new version of libxml2 also, to no avail. Any help would be greatly appreciated. FYI, I'm building PHP so I can run MediaWiki. Could I perhaps build without XML/PEAR support? Thanks -- Edit bug report at http://bugs.php.net/?id=39155&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39155&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39155&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39155&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39155&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39155&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39155&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39155&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39155&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39155&r=support Expected behavior: http://bugs.php.net/fix.php?id=39155&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39155&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39155&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39155&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39155&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39155&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39155&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39155&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39155&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39155&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39155&r=mysqlcfg

« previous php.bugs (#103534) next »