Error Code 1 building Sendmail. FreeBSD 5.4-p6

Mario Hoerich spambox at MHoerich.de
Sat Sep 17 05:56:46 PDT 2005


# Jordan Freeman:
> Here's the output. Any assistance would be apprecaited.
> 
>  make
> Warning: Object directory not changed from original 
> /usr/src/usr.sbin/sendmail
> cc -O2 -pipe -march=pentium3
[...]
> -D_FFR_SMTP_SSL   -I/usr/local/lib -o sendmail 
[...]               ^^^^^^^^^^^^^^^^
> /usr/bin/ld: cannot find -lsasl2
> *** Error code 1

Looks like a typo.  Changing that "-I/usr/local/lib" to
"-L/usr/local/lib", so it's added to the library search
path instead of the include search path, should do the
trick.

 HTH
Mario


More information about the freebsd-questions mailing list