php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8159 Error staring apache after compiling php4 with ldap
Submitted: 2000-12-07 12:15 UTC Modified: 2000-12-07 19:26 UTC
From: okaili at lsil dot com Assigned:
Status: Closed Package: LDAP related
PHP Version: 4.0 Latest CVS (07/12/2000) OS: Solaris 2.6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: okaili at lsil dot com
New email:
PHP Version: OS:

 

 [2000-12-07 12:15 UTC] okaili at lsil dot com
Compiled PHP4.0.4-dev fine with ldap support. When starting Apache I get this error:

----
sudo ./apachectl start
Syntax error on line 238 of /export3/apache/conf/httpd.conf:
Cannot load /export3/apache/libexec/libphp4.so into server: ld.so.1: /export3/apache/bin/httpd: fatal: libldap30.so: open failed: No such file or directory
./apachectl start: httpd could not be started
----

Apache - 1.3.14
PHP - 4.0.4-dev release 1
OS - Solaris 2.6
LDAP - Netscape 4.12

The file libldap30.so is in the ldap server lib directory.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-07 12:27 UTC] sniper@php.net
Add the path to libldap30.so into LD_LIBRARY_PATH environment
variable before starting Apache.

e.g.
# export LD_LIBRARY_PATH=/path/to/lib 

--Jani
 [2000-12-07 12:44 UTC] okaili at lsil dot com
I did that already and I still got the error.
 [2000-12-07 12:45 UTC] okaili at lsil dot com
I did that already and I still got the error.
 [2000-12-07 12:54 UTC] okaili at lsil dot com
I did that already and I still got the error.
 [2000-12-07 12:55 UTC] okaili at lsil dot com
still open
 [2000-12-07 16:27 UTC] okaili at lsil dot com
Sorry about the multiple posts. I reloaded my browser to view updates and I didn't know I was in the post page.
 [2000-12-07 18:25 UTC] sniper@php.net
When did you update your CVS checkout last time?
And did you do './cvsclean ; ./buildconf' ??

--Jani

 [2000-12-07 18:26 UTC] sniper@php.net
And what did you put into LD_LIBRARY_PATH ??

--Jani
 [2000-12-07 19:19 UTC] okaili at lsil dot com
Thanks for all your help. I got it to work.
 [2000-12-07 19:26 UTC] sniper@php.net
Great. Closed then.
(just curious, what did you do to get it work? =)

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 18:01:29 2024 UTC