Library path/configure problems building PHP5 on RedHat AMD64 system
| From: | Rob Tanner | Date: | Sat, 24 Dec 2005 06:03:34 +0000 |
| Subject: | Library path/configure problems building PHP5 on RedHat AMD64 system | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-16905@lists.php.net to get a copy of this message | ||
Hi,
On RedHat ES4, AMD64 architecture, the 64 bit libraries are in /usr/lib64, not /usr/lib. For many of the options (especially mysql and ldap which I'm trying to enable), I'm ending up creating symlinks in /usr/lib in order for configure to complete. An especially frustrating problem is ldap. If I say "--with-ldap", it can't find the ldap libraries. If I say "--with-ldap=/usr/lib64", it can't find ldap.h. The configure shell script only seems to know about /usr/lib, even when I add a "libdir=/usr/lib64" parameter (and I don't think that that's what the parameter is for). How can I rebuild the configure script to understand that the base directory for system libs is /usr/lib64.
Thanks,
Rob
--
Rob Tanner
UNIX Services Manager
Linfield College, McMinnville OR
Attachment: [text/x-vcard] rtanner.vcf
Attachment: [text/x-vcard] rtanner.vcf