Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Nov 2000 08:39:20 -0800 (PST)
From:      Dan Babb <bdan@c-zone.net>
To:        freebsd-isp@freebsd.org
Subject:   sendmail 8.11.1 and cyrus sasl
Message-ID:  <Pine.BSF.4.21.0011280838040.48594-100000@flux.c-zone.net>

next in thread | raw e-mail | index | archive | help

i had sent this in under freebsd-questions orginally and also to the
comp.mail.sendmail group under the post (ld link error) but maybe this
will catch some more eyes and since i do work for an isp i thought i'd
give it a shot here since its isp-related.

current software and o/s

FreeBSD 4.2-STABLE
sendmail 8.11.1
cyrus-sasl 1.5.24_4
libtool-1.3.4_1
m4-1.4
db3-3.1.17
autoconf-2.13
automake-1.4

here is what my site.config.m4 looks like with the added cyrus sasl taken
from http://www.sendmail.org/~ca/email/auth.html

APPENDDEF(`confENVDEF', `-DSASL')
APPENDDEF(`conf_sendmail_LIBS', `-lsasl')
APPENDDEF(`confLIBDIRS', `-L/usr/local/lib/sasl')
APPENDDEF(`confINCDIRS', `-I/usr/local/include/')

i've had a problem trying to configure sendmail with cyrus sasl .. i've
tried installing two ways.

one from the ports and modifying the ports site.config.m4 before building
so i can add the paths to find cyrus-sasl

or i manually configure and install sendmail and cyrus sasl.  no matter
which i do i always end up with this error:

root@vacant:// cd /usr/ports/mail/sendmail/
root@vacant:// make build
===>  Building for sendmail-8.11.1
Making all in:
/usr/ports/mail/sendmail/work/sendmail-8.11.1/libsmutil
Configuration: pfx=, os=FreeBSD, rel=4.2-STABLE, rbase=4,
rroot=4.2-STABLE, arch=i386, sfx=, variant=optimized
Making in ../obj.FreeBSD.4.2-STABLE.i386/libsmutil
Making all in:
/usr/ports/mail/sendmail/work/sendmail-8.11.1/libsmdb
Configuration: pfx=, os=FreeBSD, rel=4.2-STABLE, rbase=4,
rroot=4.2-STABLE, arch=i386, sfx=, variant=optimized
Making in ../obj.FreeBSD.4.2-STABLE.i386/libsmdb
Making all in:
/usr/ports/mail/sendmail/work/sendmail-8.11.1/sendmail
Configuration: pfx=, os=FreeBSD, rel=4.2-STABLE, rbase=4,
rroot=4.2-STABLE, arch=i386, sfx=, variant=optimized
Making in ../obj.FreeBSD.4.2-STABLE.i386/sendmail
cc -o sendmail  -L/usr/local/lib/sasl main.o alias.o arpadate.o bf_torek.o
clock.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 savemail.o sfsasl.o shmticklib.o srvrsmtp.o
stab.o stats.o sysexits.o timers.o trace.o udb.o usersmtp.o util.o
version.o     -lsasl ../libsmutil/libsmutil.a  -lutil
/usr/libexec/elf/ld: cannot find -lsasl
*** Error code 1

Stop in
/usr/ports/mail/sendmail/work/sendmail-8.11.1/obj.FreeBSD.4.2-STABLE.i386/sendmail.
*** Error code 1

Stop in /usr/ports/mail/sendmail/work/sendmail-8.11.1.
*** Error code 1

Stop in /usr/ports/mail/sendmail.
*** Error code 1

Stop in /usr/ports/mail/sendmail.
*** Error code 1

Stop in /usr/ports/mail/sendmail.

i basically don't understand why its saying it can't find lsasl .. i ran
the command

/sbin/ldconfig -elf -m /usr/local/lib

it should have updated that so it knows that sasl is there.

anyway i'm stuck .. any help would be appreicated.

- Dan




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011280838040.48594-100000>