[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: can't build ldapdb auxprop plugin in cyrus-sasl 2.1.20 source tree
- To: openldap-software@OpenLDAP.org
- Subject: Re: can't build ldapdb auxprop plugin in cyrus-sasl 2.1.20 source tree
- From: alexander lunyov <sol289@gmail.com>
- Date: Tue, 29 Mar 2005 22:40:45 +0400
- Cc: Howard Chu <hyc@symas.com>
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=B4x2LU2iADWNM3qjknhB+Q7GJU/h3wLEomvymCX7SHa4gIQd7wtzmXYLrUt79XX9rt8shPdR3y96dwtM/oYZZoLJBeezTBBIuaY3QaKwraBc3CkehVJNMdtVng58OtSLS6C/lKAbVZkHyD8bpLaA0CJCBn0fYtEE0YskZ5Mlp/g=
- In-reply-to: <42462F2A.7050507@symas.com>
- References: <42269352.6000700@gmail.com> <42462F2A.7050507@symas.com>
- User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016
it's me again. freebsd 5.3-release, cyrus-sasl-2.1.20, ldapdb.c from
openldap-2.2.23 source tree
i still can't make it work. i fixed makefiles, putting everywhere
"-lldap -llber", make a build and then i got another error (i've tried
it with sample server and client programs in sample/ dir of cyrus-sasl):
Mar 29 22:28:53 lan lt-server: unable to dlopen
/usr/local/lib/sasl2/libldapdb.so: /usr/local/lib/sasl2/libldapdb.so:
Undefined symbol "ldapdb_auxprop_plug_init"
Mar 29 22:28:53 lan kernel: Mar 29 22:28:53 lan lt-server: unable to
dlopen /usr/local/lib/sasl2/libldapdb.so:
/usr/local/lib/sasl2/libldapdb.so: Undefined symbol
"ldapdb_auxprop_plug_init"
Mar 29 22:28:55 lan lt-client: unable to dlopen
/usr/local/lib/sasl2/libldapdb.so: /usr/local/lib/sasl2/libldapdb.so:
Undefined symbol "ldapdb_auxprop_plug_init"
Mar 29 22:28:55 lan kernel: Mar 29 22:28:55 lan lt-client: unable to
dlopen /usr/local/lib/sasl2/lib
ldapdb.so: /usr/local/lib/sasl2/libldapdb.so: Undefined symbol
"ldapdb_auxprop_plug_init"
then i browsed cvs repository on openldap.org and found that ldapdb.c
will be removed because it should be in sasl source tree! that was very
good news for me. i cvsup'ed cyrus-sasl, and today i've build cvs
version of cyrus-sasl with ldapdb plugin. i think that now i'm crossing
a line after which this message it not openldap-software@ issue anymore,
but i'll proceed. building of cvs version is passed without an error -
what a surprise. after installing libs i tried and now i have yet
another error:
Mar 29 21:52:42 lan kernel: Mar 29 21:52:42 lan lt-server: auxpropfunc
error invalid parameter supplied
Mar 29 21:52:42 lan lt-server: _sasl_plugin_load failed on
sasl_auxprop_plug_init for plugin: ldapdb
all difference between these situations is that newer ldapdb plugin have
"int ldapdb_auxprop_plug_init", while older plugin "static int
ldapdb_auxprop_plug_init". if i put "int ldapdb_auxprop_plug_init" then
i get
_sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: ldapdb
and if i put "static int", i get
Undefined symbol "ldapdb_auxprop_plug_init"
am i cursed person?
--
your sweet isn't ready yet