Making all in:
/usr/local/src/sendmail-8.12.9/sendmail
Configuration: pfx=, os=FreeBSD, rel=5.0-RELEASE, rbase=5,
rroot=5.0-RELEASE, arch=i386, sfx=, variant=optimized
Making in
/usr/local/src/sendmail-8.12.9/obj.FreeBSD.5.0-RELEASE.i386/sendmail
cc -o sendmail -L/usr/lib/sasl main.o alias.o arpadate.o bf.o collect.o
conf.o control.o convtime.o daemon.o deliver.o domain.o envelope.o err.o
headers.o macro.o map.o mci.o milter.o mime.o parseaddr.o queue.o readcf.o
recipient.o sasl.o savemail.o sfsasl.o shmticklib.o sm_resolve.o srvrsmtp.o
stab.o stats.o sysexits.o timers.o tls.o trace.o udb.o usersmtp.o util.o
version.o -lsasl
/usr/local/src/sendmail-8.12.9/obj.FreeBSD.5.0-RELEASE.i386/libsmutil/libsmu
til.a
/usr/local/src/sendmail-8.12.9/obj.FreeBSD.5.0-RELEASE.i386/libsm/libsm.a -
lutil
/usr/bin/ld: cannot find -lsasl
*** Error code 1
My config file site.config.m4 :
APPENDDEF(`conf_sendmail_ENVDEF', `-I/usr/local/include/')
APPENDDEF(`conf_sendmail_ENVDEF', `-DSASL')
APPENDDEF(`confLIBDIRS', `-L/usr/local/lib/sasl')
APPENDDEF(`conf_sendmail_LIBS', `-lsasl')
ok# ls /usr/local/include |grep sasl
sasl.h
saslplug.h
saslutil.h
ok# ls /usr/local/lib/sasl
libanonymous.la libcrammd5.la libdigestmd5.la
liblogin.la libplain.la
libanonymous.so libcrammd5.so libdigestmd5.so
liblogin.so libplain.so
libanonymous.so.1 libcrammd5.so.1 libdigestmd5.so.0
liblogin.so.0 libplain.so.1
How can I solve this problem?
I have FreeBSD 5.0
Thanks for your help
JB
build libsasl.a and libsasl.so and libsasl.so.?
> I'm compile SASL 1.5.28 don't use port
> I'm trying to compile sendmail with SASL and
> I get error :
> /usr/bin/ld: cannot find -lsasl
> APPENDDEF(`confLIBDIRS', `-L/usr/local/lib/sasl')
Isn't libsasl in /usr/local/lib ?
APPENDDEF(`confLIBDIRS', `-L/usr/local/lib')
--
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
I hadn't thought of that. Good point and thanks. You learn or remember
something new every day '-)
But as in the OP:
Making all in:
/usr/local/src/sendmail-8.12.9/sendmail
Configuration: pfx=, os=FreeBSD, rel=5.0-RELEASE, rbase=5,
rroot=5.0-RELEASE, arch=i386, sfx=, variant=optimized
Making in
/usr/local/src/sendmail-8.12.9/obj.FreeBSD.5.0-RELEASE.i386/sendmail
cc -o sendmail -L/usr/lib/sasl main.o alias.o arpadate.o bf.o collect.o
it uses -L/usr/lib/sasl and not the local path.
Alexander
--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
Interesting. I've never noticed anything in the OP specific to FreeBSD.
Silly me, I thought the user had read the docs and had deliberatly setup
his environment in this manner since sasl libraries are built outside of
sendmail. I guess the moral of this story is always guess and answer to
the lowest common denomenator, eh?