[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
linking problem with cyrus sasl shared lib (ITS#2074)
Full_Name: Patrick Thurier
Version: 2.0.25
OS: HP-UX 11
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (193.194.133.3)
Hello,
I want to use openldap with PHP.
When I make a call to ldap_connect(), php crashes with the following apache
error log :
/usr/lib/dld.sl: Unresolved symbol: sasl_set_alloc (code) from
/usr/local/lib/libldap.sl.2
It seems I have a problem linking openldap and sasl together with shared lib.
chatr /usr/local/lib/libldap.sl.2
/usr/local/lib/libldap.sl.2:
shared library
shared library dynamic path search:
SHLIB_PATH disabled second
embedded path disabled first Not Defined
internal name:
libldap.sl.2
shared vtable support disabled
static branch prediction disabled
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
data page size: D (default)
instruction page size: D (default)
I use gcc 3.1 and the following configuration options :
cyrus-sasl-1.5.27 :
#./configure --enable-shared=yes
openldap-2.0.25 :
#./configure --disable-slapd --disable-slurpd --with-tls --with-cyrus-sasl
--enable-shared
I get no error when making.
Any idea ?
thank's a lot
patrick