#39155 [Opn->Fbk]: linking issues with make install
| From: | tony2001@php.net | Date: | Sat, 14 Oct 2006 17:57:41 +0000 |
| Subject: | #39155 [Opn->Fbk]: linking issues with make install | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-103551@lists.php.net to get a copy of this message | ||
ID: 39155
Updated by: tony2001@php.net
Reported By: ruiner at netslacking dot net
-Status: Open
+Status: Feedback
Bug Type: *Compile Issues
Operating System: Solaris 9
PHP Version: 5.1.6
New Comment:
What if you try to build a newer libxml2?
Previous Comments:
------------------------------------------------------------------------
[2006-10-14 17:29:05] ruiner at netslacking dot net
libxml2 2.6.18
checking for ld used by /usr/local/bin/gcc... /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... yes
------------------------------------------------------------------------
[2006-10-14 10:50:44] tony2001@php.net
What version of libxml2 do you use?
Why do you think GNU ld is used?
------------------------------------------------------------------------
[2006-10-14 00:21:47] ruiner at netslacking dot net
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
------------------------------------------------------------------------
[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