Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Nov 2005 19:28:06 -0500
From:      sammy!!! <sammy@lost-angel.com>
To:        freebsd-stable@freebsd.org
Subject:   Sendmail not compiling with make world in 6.0
Message-ID:  <953CD34C-5DBA-461B-AAA9-C4073E517F89@lost-angel.com>

next in thread | raw e-mail | index | archive | help
I get this error when trying to do a make world with FreeBSD 6.0.
===> libexec/mail.local (all)
cc -O2 -fno-strict-aliasing -pipe  -I/usr/src/libexec/ 
mail.local/../../contrib/sendmail/include -I. -I/usr/local/include/ 
sasl1 -DSASL  -c /usr/src/libexec/mail.local/../../contrib/sendmail/ 
mail.local/mail.local.c
cc -O2 -fno-strict-aliasing -pipe  -I/usr/src/libexec/ 
mail.local/../../contrib/sendmail/include -I. -I/usr/local/include/ 
sasl1 -DSASL   -L/usr/local/lib -o mail.local mail.local.o /usr/obj/ 
usr/src/libexec/mail.local/../../lib/libsm/libsm.a -lsasl
/usr/obj/usr/src/tmp/usr/bin/ld: warning: libcrypt.so.2, needed by / 
usr/local/lib/libsasl.so, not found (try using -rpath or -rpath-link)
/usr/obj/usr/src/tmp/usr/bin/ld: warning: libpam.so.2, needed by /usr/ 
local/lib/libsasl.so, not found (try using -rpath or -rpath-link)
/usr/local/lib/libsasl.so: undefined reference to `pam_end'
/usr/local/lib/libsasl.so: undefined reference to `pam_authenticate'
/usr/local/lib/libsasl.so: undefined reference to `crypt'
/usr/local/lib/libsasl.so: undefined reference to `pam_start'
*** Error code 1

Stop in /usr/src/libexec/mail.local.
*** Error code 1


I have the following in  my /etc/make.conf
SENDMAIL_CFLAGS=-I/usr/local/include/sasl1 -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl

Any clues on why this is failing with 6.0?  It worked in 5.4 no  
problem...





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?953CD34C-5DBA-461B-AAA9-C4073E517F89>