After upgrade OpenSSL to v 1.0.0 on FreeBSD6.4 my Sendmail server was unable to start.
18 April 2010
# root@USA:/root/starts: ./sendmail start
Starting sendmail.
/libexec/ld-elf.so.1: Shared object "libssl.so.5" not found, required by "sendmail"
Prerequisites:
We must upgrade all related packages from fresh ports and recompile Sendmail.
Step 1
Make sure your ports are up to date:
# /usr/local/bin/cvsup -g -L 2 /path-to-your/standard-supfile
OR
# portsnap fetch update
Step 2
Recompile Sendmail:
# cd /usr/ports/mail/sendmail/
# make config
# make
# make deinstall reinstall
# cd /usr/src/lib/libsm ; make clean ; make obj ; make depend ; make
# cd /usr/src/lib/libsmutil ; make clean ; make obj ; make depend ; make
# cd /usr/src/usr.sbin/sendmail ; make clean ; make obj ; make depend ; make ; make instal
Step 3
Start Sendmail:
# root@USA:/root/starts: ./sendmail start
Starting sendmail.
WARNING: Xspamassassin: local socket name /var/run/spamass-milter.sock missing
Sendmail is ok.
We may also want to continue with the upgrade...
Step 4
Upgrade spamass-milter in conjunction with all those depending on the SpamAssassin Milter Plugin
# portupgrade -R spamass-milter && sa-update
# /usr/local/bin/sa-compile && /usr/local/bin/sa-update -D && /usr/local/etc/rc.d/sa-spamd reload
Step 5
Test sendmail with a local user account:
echo "test me!" | mail -s"Mail test" root
References:
man portupgrade
man SpamAssassin
http://www.google.co.uk/bsd
http://savannah.nongnu.org/support/?103971
http://unix.derkeiler.com/pdf/Mailing-Lists/FreeBSD/questions/2006-06/msg01514.pdf