LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-02-2009, 12:12 PM   #1
slast
LQ Newbie
 
Registered: Jun 2009
Posts: 14

Rep: Reputation: 0
SASL library version mismatch: expected 2.1.23, got 2.1.22


I have now run into the following error. Looks like the installation of cyrus_sasl2.1.23 has caused me a problem during the make test portion of the openldap config.

[root@pcard0bu openldap-2.4.16]# make test
cd tests; make test
make[1]: Entering directory `/usr/local/etc/openldap/openldap-2.4.16/tests'
make[2]: Entering directory `/usr/local/etc/openldap/openldap-2.4.16/tests'
Initiating LDAP tests for BDB...
Cleaning up test run directory leftover from previous run.
Running ./scripts/all...
>>>>> Executing all LDAP tests for bdb
>>>>> Starting test000-rootdse ...
running defines.sh
Starting slapd on TCP/IP port 9011...
Using ldapsearch to retrieve the root DSE...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
./scripts/test000-rootdse: line 66: kill: (16102) - No such process
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
>>>>> Test failed
>>>>> ./scripts/test000-rootdse failed (exit 255)
make[2]: *** [bdb-yes] Error 255
make[2]: Leaving directory `/usr/local/etc/openldap/openldap-2.4.16/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/usr/local/etc/openldap/openldap-2.4.16/tests'
make: *** [test] Error 2


Error in testlog

[root@pcard0bu testrun]# more slapd.1.log
@(#) $OpenLDAP: slapd 2.4.16 (Jun 2 2009 11:50:54) $
root@pcard0bu:/usr/local/etc/openldap/openldap-2.4.16/servers/slapd
ldap_pvt_gethostbyname_a: host=pcard0bu, r=0
daemon_init: ldap://localhost:9011/
daemon_init: listen on ldap://localhost:9011/
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap://localhost:9011/)
daemon: listener initialized ldap://localhost:9011/
daemon_init: 2 listeners opened
ldap_create
slapd init: initiated server.
slap_sasl_init: SASL library version mismatch: expected 2.1.23, got 2.1.22
slapd destroy: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.

I have research online and created a soft link from usr/local/lib/sasl2 to usr/lib/sasl2 and rerun the ./configure and make depend commands for openldap but it still fails when running make test.

Any suggestions?
 
Old 08-21-2009, 01:20 AM   #2
lastmanstand
LQ Newbie
 
Registered: Jun 2009
Posts: 7

Rep: Reputation: 0
if you execute command "yum search cyrus-sasl", you'll find that you have,

cyrus-sasl.i386 2.1.22-4 installed

and the lib and devel package. next is to find where is the location for version 2.1.23 which in my case is at /usr/local/lib and the file is "libsasl2.so.2.0.23". once you have it, you need to remove the old version (2.1.22) lib from usr/lib. the file is "libsasl2.so.2.0.22". remove the file and the symlink as well.

copy libsasl2.so.2.0.23 or create a symlink to /usr/lib/libsasl2.so.2.

voila...run "make test" again and it should work now.

hope it's not too late..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
svn: Version mismatch in ... acanthus Linux - Software 3 02-12-2015 05:22 AM
ABI version mismatch with server version rjpilla Ubuntu 1 10-03-2006 10:03 PM
help, gcc version and kernel version mismatch akanitkar Linux - Newbie 1 05-06-2006 07:02 AM
Kernel version Source Version mismatch after recompile chuckleberry Linux - Software 1 06-20-2005 06:37 PM
kernel version mismatch jimo Linux - Software 3 10-29-2001 01:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration