Again, I'm using FreeBSD 5.2, so some of these problems may be tied to that.
First, I had the same problem with mysqld not starting, until I added the "cd /usr/local/mysql" line in the startup file.
Second, when trying to start exim I got this:
datest# /usr/local/etc/rc.d/exim start
Starting exim: /usr/libexec/ld-elf.so.1: [ OK ]
Shared object "libutil.so.3" not found
Did some researching, and FreeBSD 5.1 comes with libutil.so.3, while 5.2 comes with libutil.so.4. I fixed it by creating a symlink like so: ln -s /lib/libutil.so.4 /lib/libutil.so.3
Lastly, ProFTPD wouldn't work either. After fixing the first two I noticed it was now working. I deleted the symlink created above and it gave the same error. So both it and exim were looking for /lib/libutil.so.3.
First, I had the same problem with mysqld not starting, until I added the "cd /usr/local/mysql" line in the startup file.
Second, when trying to start exim I got this:
datest# /usr/local/etc/rc.d/exim start
Starting exim: /usr/libexec/ld-elf.so.1: [ OK ]
Shared object "libutil.so.3" not found
Did some researching, and FreeBSD 5.1 comes with libutil.so.3, while 5.2 comes with libutil.so.4. I fixed it by creating a symlink like so: ln -s /lib/libutil.so.4 /lib/libutil.so.3
Lastly, ProFTPD wouldn't work either. After fixing the first two I noticed it was now working. I deleted the symlink created above and it gave the same error. So both it and exim were looking for /lib/libutil.so.3.