Re: Error loading protocol smtp
Amitai Schlair <[email protected]> Thu, 28 Dec 2006 00:06:16 -0500
| Newsgroups | gmane.comp.sysutils.bgware |
|---|---|
| Message-ID | <[email protected]> |
On Dec 27, 2006, at 11:54 PM, 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 ?
I'm seeing this too, and it reminds me of a discussion we've had not
so long ago. :-)
http://lists.untroubled.org/?
list=bgware&cmd=threadindex&month=200608&threadid=koabcgllmlgpondgjoam
Also, I get the following build error on OS X (10.4.8, Intel).
Perhaps libtool would help?
-----
( bgincs=`head -n 1 conf-bgincs`; bglibs=`head -n 1 conf-bglibs`;
echo '#!/bin/sh'; echo 'source=$1; shift'; echo 'base=`echo
"$source" | sed -e s:\\\\.c$::`'; echo exec `head -n 1 conf-ccso` -
DSHARED -I. "-I'${bgincs}'" -L. "-L'${bglibs}'" '-o ${base}.so
$source ${1+"$@"}'; ) >makeso
chmod 755 makeso
./makeso plugin-clamav.c -lbg -lbg-sysdeps
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-shared'
/usr/bin/ld: Undefined symbols:
_main
_resp_internal
_session_getenv
collect2: ld returned 1 exit status
*** Error code 1
Stop.