----- Original Message -----
From: Jani Taskinen <[EMAIL PROTECTED]>
To: Alain Defrance <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, March 12, 2001 9:19 PM
Subject: Re: [PHP-INST] starting pache
> On Mon, 12 Mar 2001, Alain Defrance wrote:
>
> >hello,
> >i've suceeded compiling Apache with php4 with ldap without any error !
> >(i've append LDFLAGS=-lldap -llber in the src/Makefile)
> >
> >but when i want to start apache i've the following message :
> >d.so.1: /www/bin/httpd: fatal: libldap.so.2: open failed: No such file or
> >directory
> >Killed
> >./apachectl start: httpd could not be started
> >
> >do you know why...???
>
> If the system is Linux:
>
> 1. Edit /etc/ld.so.conf and add the path of
> the libldap.so.2 into it
> 2. Run /sbin/ldconfig
>
> If the system is Solaris:
>
> 1. Before starting Apache:
>
> # export LD_LIBRARY_PATH=/path/to/the/not/found/lib
>
>
You might also find it useful to read the discussion at
http://marc.theaimsgroup.com/?l=php-install&m=98387605314336&w=2 . Using the
command: ldd apache/libexec/libphp4.so should allow you to see where the
linker will look for each library, and if any like libldap and liblber are
not being found.
Steve
--
PHP Install 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]