After Compiling...

David Relson relson at osagesoftware.com
Sun Aug 10 02:14:14 CEST 2003


At 07:20 PM 8/9/03, Lane P. Lester wrote:
>David Relson <relson at osagesoftware.com> wrote:
> > db_version is a function in the BerkeleyDB shared library -
> > lbidb-4.1.so (or whatever).  It's likely another detail in the
> > LD_LIBRARY_PATH problem :-(
> >
> > Run "ldd path/to/bogofilter" and see what you're getting.
>
>LC2:~# ldd /usr/local/bin/bogofilter
>         libm.so.6 => /lib/libm.so.6 (0x40021000)
>         libdb-4.1.so => /usr/lib/libdb-4.1.so (0x40043000)
>         libc.so.6 => /lib/libc.so.6 (0x400f2000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> > Under the "anything is possible" umbrella, do you have multiple
> > versions of BerkeleyDB on your machine?
>
>No, just 4.1.25.

Lane,

Linux library paths are tricky.  I recall you building with 
/usr/local/BerkeleyDB.4.1 and see that ldd reports 
/usr/lib/libdb-4.1.so.  Could that be a source of trouble???  Do you have 
more than one libdb-4.1.so?  If so, are they the same or different?

That's it for ideas ...

David





More information about the Bogofilter mailing list