Re: [PHP-DEV] Help on LDAP and PHP4 From: Stig Venaas (venaas <email protected>)
Date: 07/16/01

On Sun, Jul 15, 2001 at 05:17:40PM -0500, osman.bayona wrote:
> Hi...
>
> I have this issue that is killing me. I installed PHP 4.0.4 with Solaris
> 8 and Apache. I want to use LDAP connecting to a server in the net (not
> the same server where i'm working on) And i configure PHP with:
>
> configure --with-apxs=/usr/apache/bin/apxs --with-pgsql=/usr/local/pgsql
> --with-ldap

Which LDAP library? iPlanet coming with Solaris?

> then 'make install' and everything works fine until i try:
>
> /usr/apache/bin/apachectl start
>
> then i have this &@!% message:
>
> Syntax error on line 236 of /etc/apache/httpd.conf:
> Cannot load /usr/apache/libexec/libphp4.so into server: ld.so.1:
> /usr/apache/bin/httpd: fatal: relocation error: file
> /usr/apdap_unbind_s: referenced symbol not found

Does it really say /usr/apdap_unbind_s? What on earth is that...
ldap_unbind_s would have been more normal (without /usr...)
Should it be:
/usr/apache/bin/httpd: ldap_unbind_s: referenced symbol not found
or something perhaps?

What do you see if you do ldd /usr/apache/libexec/libphp4.so?
I suspect that the LDAP library found is not found at run time. ldd
should show you something. Where do you have your library? Look for
libldap...

Stig

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>