RE: Error loading protocol smtp

"Graham Miller" <[email protected]> Thu, 28 Dec 2006 16:46:30 +1100
Newsgroups gmane.comp.sysutils.bgware
Organization Graham Miller Computer Services
Message-ID <009801c72a43$8806f040$6401010a@gmn800c60gb>
Bruce Guenter wrote:
> On Wed, Dec 27, 2006 at 08:02:01PM +1100, Graham Miller wrote:
>> I have installed mailfront 1.10 and seem to be having some shared
>> library trouble and it refuses to run. Anyone helpout with this?
>> 
>> Logs say (multilog passed through tai64nlocal):
>> 2006-12-27 18:38:47.249968500 mailfront[1959]: Fatal: 4.3.0 Error
>> loading protocol smtp: libcvm-sasl.so.1: cannot open shared object
>> file: No such file or directory
> 
>> Contents of /usr/local/lib:
>> libcvm-sasl.so.1
>> libcvm-sasl.so.1.0.2
> 
> Is /usr/local/lib in /etc/ld.so.conf ?

It was not.

In CentOS 4.2, /etc/ld.so.conf is thus:
[graham@jenshen3 ~]$ cat /etc/ld.so.conf
include ld.so.conf.d/*.conf

The directory /etc/ld.so.conf.d/ does not have an entry for /usr/local/bin/
by default.

I created one and ran ldconfig and mailfront now runs.

Thanks
Graham