Re: starting pache

From: Date: Tue, 13 Mar 2001 09:19:15 +0000
Subject: Re: starting pache
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-2353@lists.php.net to get a copy of this message
----- Original Message ----- From: Jani Taskinen <sniper@iki.fi> To: Alain Defrance <Alain.Defrance@univ-evry.fr> Cc: <php-install@lists.php.net> 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

« previous php.install (#2353) next »