#39155 [Opn]: linking issues with make install
ID: 39155
User updated by: ruiner at netslacking dot net
Reported By: ruiner at netslacking dot net
Status: Open
Bug Type: *Compile Issues
Operating System: Solaris 9
PHP Version: 5.1.6
New Comment:
make install error should read:
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:
xmlTextReaderGetAttribute referenced symbol not
found
Previous Comments:
------------------------------------------------------------------------
[2006-10-14 00:14:38] ruiner at netslacking dot net
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 this bug report at http://bugs.php.net/?id=39155&edit=1
Thread (6 messages)