php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1343 ldap support: ldap_unbind_s unknown symbol
Submitted: 1999-04-22 04:01 UTC Modified: 2001-02-10 15:49 UTC
From: zaucker at ee dot ethz dot ch Assigned:
Status: Closed Package: Other
PHP Version: 3.0.7 OS: Solaris 2.6
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: zaucker at ee dot ethz dot ch
New email:
PHP Version: OS:

 

 [1999-04-22 04:01 UTC] zaucker at ee dot ethz dot ch
I compiled PHP 3.0.7 as Apache module (Apache 1.3.6) with ldap support, using the University of Washington ldap client library version 3.3

When trying to start httpd I get the following error message:

 /usr/pack/apache-1.3.6-za/libexec/libphp3.so: symbol ldap_unbind_s: referenced symbol not found

Here is my configure line:

./configure \
  --prefix=/usr/pack/$PACK \
  --sysconfdir=/usr/sepp/var/$PACK/conf \
  --datadir=/usr/sepp/var/$PACK \
  --with-shared-apache=$WORK/${APACHE} \
  --with-fhttpd=no \
  --with-imap=$WORK/${IMAP} \
  --with-gd=$WORK/${GD} \
  --with-oracle=no \
  --with-iodbc=no \
  --with-openlink=no \
  --with-adabas=no \
  --with-sybase=no \
  --with-sybase-ct=no \
  --with-mysql=${MYSQL} \
  --with-msql=no \
  --with-pgsql=no \
  --with-solid=no \
  --with-empress=no \
  --with-ldap=$WORK/${LDAP} \
  --with-snmp=no \
  --with-velocis=no \
  --with-informix=no \
  --with-interbase=no \
  --with-custom-odbc=no \
  --with-hyperwave=no \
  --with-xml=no \
  --with-zlib=${WORK}/${ZLIB} \
  --with-pdflib=no \
  --with-fdftk=no \
  --with-dbase=no \
  --with-filepro=no \
  --with-mod-dav=no \
  --with-config-file-path=/usr/sepp/var/$PACK/conf \
  --enable-safe-mode \
  --enable-discard-path \
  --enable-memory-limit \
  --enable-sysvsm \
  --enable-sysvshm


with 

setenv WORK /tmp/work
setenv OPENSSL openssl-0.9.2b
setenv APACHE apache_1.3.6
setenv MOD_SSL mod_ssl-2.2.8-1.3.6
setenv MOD_ROAMING mod_roaming-1.0.1
setenv PHP php-3.0.7
setenv IMAP imap-4.5
setenv LDAP ldap-3.3
setenv GD gd1.3
setenv MOD_FASTCGI mod_fastcgi_2.2.1
setenv ZLIB zlib-1.1.3
setenv MYSQL /usr/local/pack/mysql
setenv MOD_AUTH_SYS mod_auth_sys-1.3
setenv PACK apache-1.3.6-za

Of course these variables are set BEFORE running configure.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-20 20:17 UTC] jim at cvs dot php dot net
You probably need to add the directory of the LDAP
library to LD_LIBRARY_PATH.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 23:01:28 2024 UTC