[PHP-DEV] PHP 4.0 Bug #9958 Updated: configure script does not link libldap into PHP

2001-04-01 Thread sniper

ID: 9958
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Closed
Bug Type: LDAP related
Assigned To: 
Comments:

Closed. Reopen if latest CVS snapshot doesn't fix this.

--Jani


Previous Comments:
---

[2001-03-26 15:55:33] [EMAIL PROTECTED]
Could you please try the latest CVS snapshot from http://snaps.php.net/ ? 

I made a little modification to the configure and it should 
work now with the Solaris libldap.

--Jani


---

[2001-03-23 12:00:20] [EMAIL PROTECTED]
The configure script, run with the '--with-ldap' does not link php with libldap . PHP 
will compile fine, but when you try to run apache (DSO module) you get this:

Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1: 
/usr/local/apache/bin/httpd: fatal: relocation error: 
file /usr/local/apache/libexec/libphp4.so:
symbol ldap_unbind_s: referenced symbol not found

manually linking libphp with -lldap corrects the problem.

NOTE: solaris 8 has ldap libraries included. I would think this should be the default 
behavior.

configure was run as follows:
./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs 
--with-imap=../imap-2000c --with-ldap

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9958&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9958 Updated: configure script does not link libldap into PHP

2001-03-26 Thread sniper

ID: 9958
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Compile Problem
Assigned To: 
Comments:

Could you please try the latest CVS snapshot from http://snaps.php.net/ ? 

I made a little modification to the configure and it should 
work now with the Solaris libldap.

--Jani


Previous Comments:
---

[2001-03-23 12:00:20] [EMAIL PROTECTED]
The configure script, run with the '--with-ldap' does not link php with libldap . PHP 
will compile fine, but when you try to run apache (DSO module) you get this:

Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1: 
/usr/local/apache/bin/httpd: fatal: relocation error: 
file /usr/local/apache/libexec/libphp4.so:
symbol ldap_unbind_s: referenced symbol not found

manually linking libphp with -lldap corrects the problem.

NOTE: solaris 8 has ldap libraries included. I would think this should be the default 
behavior.

configure was run as follows:
./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs 
--with-imap=../imap-2000c --with-ldap

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9958&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]