Subject: cyrus-sasl in bsdi4.0

From: Hor Pui Ling <[email-masked]>
Date: Wed, 17 May 2000 11:01:05 +0800 (SGT)

Hi,

I'm trying to install cyrus-sasl-1.5.15 and sendmail-8.10.1 with smtp auth
feature in an bsdi 4.0 machine but having problems to get it works. 

Tried to run the sample program and got the below response, seems like it
can't find the sasl libraries.

./sample-client
Waiting for mechanism list from server...
^C

./sample-server
Generating client mechanism list...
Sending list of 0 mechanism(s)
S:
Waiting for client mechanism...
C:
got ''
lt-sample-server: Starting SASL negotiation: no mechanism available

I installed the cyrus-sasl witn ./configure, make and make install in
/usr/local as the prefix dir. There is a soft link of /usr/lib/sasl to
/usr/local/lib/sasl.

When I run sendmail, the error message in /var/log/maillog is

SASL error: listmech=0, num=0

and in /var/log/messages displayed

unable to dlopen /usr/lib/sasl/libcrammd5.so: File
not found
unable to dlopen /usr/lib/sasl/libdigestmd5.so:
File not found
unable to dlopen /usr/lib/sasl/libanonymous.so:
File not found
unable to dlopen /usr/lib/sasl/libplain.so: File
not found

All the files above do exist.
 
And, I noticed there is a warning message when I configure cyrus-sasl as
below:

*** Warning: This library needs some functionality provided by -lresolv.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

Please advise what could be wrong. Any helps would be appreciated. TIA.

Regards,
PL