|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18181 Apache refuses to start while loading if compiled with ldap support
Submitted: 2002-07-05 08:25 UTC Modified: 2002-07-05 11:23 UTC
From: rajat dot bhatia at motorola dot com Assigned:
Status: Closed Package: Apache related
PHP Version: 4.2.1 OS: Solaris 5.8
Private report: No CVE-ID: None
 [2002-07-05 08:25 UTC] rajat dot bhatia at motorola dot com
I compiled apache php module with mysql and ldap support.
The following combinations were tried:
Apache version 1.3.26 , 1.3.19
Mysql version 3.23.33
Netscape LDAP C SDK  version 4.1  (SunOS5.6), 5.0
The httpd deamon refused to start and gave the following error. If I compile PHP without LDAP it works perfectly.

Could you please correct this problem , or point me a workaround. I need ldap support in php for my work to go on.

-- Error message follows -------------------------------
dummyuser@dummy:/usr/local/test_ap> ./bin/apachectl start
Syntax error on line 241 of /usr/local/test_ap/conf/httpd.conf:
Cannot load /usr/local/test_ap/libexec/ into server: /usr/local/test_ap/bin/httpd: fatal: relocation error: file /usr/local/test_ap/libexec/ symbol ldap_start_tls_s: referenced symbol not found
./bin/apachectl start: httpd could not be started

-- ldd report follows ---------------------
dummyuser@dummy:/usr/local/test_ap/libexec> ldd =>	 /usr/lib/ =>	 /usr/lib/ =>	 /usr/local/mysql/lib/mysql/ =>	 /usr/local/ldapcsdk4.14-SunOS5.6/lib/ =>	 /usr/local/ldapcsdk4.14-SunOS5.6/lib/ =>	 /usr/local/ldapcsdk4.14-SunOS5.6/lib/ =>	 /usr/local/ldapcsdk4.14-SunOS5.6/lib/ =>	 /usr/lib/ =>	 /usr/lib/ =>	 /usr/lib/ =>	 /usr/lib/ =>	 /usr/lib/ =>	 /usr/lib/ =>	 /usr/lib/ =>	 /usr/lib/ =>	 /usr/lib/ =>	 /usr/lib/ =>	 /usr/lib/ =>	 /usr/lib/ =>	 /usr/lib/


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-05 08:44 UTC] rajat dot bhatia at motorola dot com
I forgot to add the gcc version I am using...
gcc version 2.95.2 19991024 (release)
 [2002-07-05 11:21 UTC]
This should be fixed in this snapshot:
 [2002-07-05 11:23 UTC] rajat dot bhatia at motorola dot com
Thanks, The new snapshot works.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Sep 28 07:05:52 2022 UTC