Error Code 1 building Sendmail. FreeBSD 5.4-p6

Jordan Freeman jmf at thecompanyonline.com
Sat Sep 17 07:55:28 PDT 2005


Mario Hoerich wrote:

> # 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

Thank you, Mario. That will tech me not to stay up so late o_O . I fall 
on my sword for a second time.

Jordan Freeman


More information about the freebsd-questions mailing list