AMD64 and libdir Broken?
| From: | Hans Zaunere | Date: | Sun, 06 Feb 2005 00:03:52 +0000 |
| Subject: | AMD64 and libdir Broken? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-14651@lists.php.net to get a copy of this message | ||
Some time ago we talked about compiling PHP on an AMD64. Joe Orton was kind enough to patch the 5.1
branch to include the --with-libdir directive to ./configure to allow for searching in libs in such
places as /lib64 and /usr/lib64 and it worked great.
However, after downloading the php5-200502052330.tar.gz snapshot, things seem broken again. My
./configure starts out like this:
./configure --with-libdir=lib64 --prefix=/usr/local/php --with-apxs=/usr/local/apache/bin/apxs
.....
Which had worked fine before. However, when compiling this snapshot, I get the original errors
during link time, such as:
*** Warning: linker path does not have real file for library -lxml2.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libxml2 and none of the candidates passed a file format test
*** using a file magic. Last file checked: /lib/libdl-2.3.3.so
Thus, libphp5.so isn't created. Seems like Joe's patch was broken somehow or somehow
changed. Any news or ideas? Many thanks,
---
Hans Zaunere
President, Founder
New York PHP
http://www.nyphp.org