#32300 [Opn->Fbk]: Failure to find RPM Openldap Install
| From: | sniper@php.net | Date: | Wed, 16 Mar 2005 06:49:34 +0000 |
| Subject: | #32300 [Opn->Fbk]: Failure to find RPM Openldap Install | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-76992@lists.php.net to get a copy of this message | ||
ID: 32300
Updated by: sniper@php.net
Reported By: axelseaa at amadmax dot com
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Fedora Core 3 64 Bit
PHP Version: 5.0.3
New Comment:
You should not mix 32bit libs with 64bit ones, iirc..
Previous Comments:
------------------------------------------------------------------------
[2005-03-14 23:55:39] axelseaa at amadmax dot com
--with-libdir=lib64 works to find the openldap install, but i have
mysql and postgresql compilied from source, so their lib directories
are still just named lib. So now it fails to find those.
what is the best way to get around this?
------------------------------------------------------------------------
[2005-03-14 22:21:30] sniper@php.net
And by using the latest HEAD (upcoming PHP 5.1) you'll have this
configure option: --with-libdir=lib64
------------------------------------------------------------------------
[2005-03-14 22:20:30] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-03-14 14:35:46] axelseaa at amadmax dot com
This problem is still apparent in 5.0.4RC1
------------------------------------------------------------------------
[2005-03-14 14:30:34] axelseaa at amadmax dot com
Description:
------------
I was trying to compile PHP with ldap support on my 64bit FC3 system.
I used the stock rpm install of open ldap, so it had stuck the
necessary files into /lib64 instead of /lib.
The only way i could get this to build was to hack the location in the
configure script. Is this something that can be corrected for the
future?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32300&edit=1