Hallo,
i have the same problem :
>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?
OpenLdap
>> 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...
>dap_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?
yes
>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...
ldd libphp4.so
libpam.so.1 => /lib/libpam.so.1
libdl.so.1 => /lib/libdl.so.1
libresolv.so.2 => /lib/libresolv.so.2
libm.so.1 => /lib/libm.so.1
libcrypt_i.so.1 => /lib/libcrypt_i.so.1
libnsl.so.1 => /lib/libnsl.so.1
libsocket.so.1 => /lib/libsocket.so.1
libc.so.1 => /lib/libc.so.1
libgen.so.1 => /lib/libgen.so.1
libmp.so.2 => /lib/libmp.so.2
/usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
that is it !
an here the error on startup the apacheserver :
Failed to start apache :
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/apache/libexec/libphp4.so:
symbol ldap_unbind_s: referenced symbol not found
/usr/apache/bin/apachectl start: httpd could not be started
Can you help me please ?
MfG
Oliver
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]