After Compiling...

Lane P. Lester llester at simpub.com
Sun Aug 10 02:31:09 CEST 2003


David Relson <relson at osagesoftware.com> wrote:
> 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?

Here's what locate locates:

/usr/lib/libdb-4.0.so
/usr/lib/libdb-4.1.so
/usr/local/BerkeleyDB.4.1/lib/libdb-4.1.a
/usr/local/BerkeleyDB.4.1/lib/libdb-4.1.la
/usr/local/BerkeleyDB.4.1/lib/libdb-4.1.so
/usr/local/BerkeleyDB.4.1/lib/libdb-4.so

I think that is the answer! I moved the files in /usr/lib and symlinked
to /usr/lib the files in /usr/local/BerkeleyDB.4.1/lib... and
bogofilter executed with no errors!

Thanks again, guys, for sticking with me on this.

Lane
____
Lane P. Lester / Madison County, Georgia
**Running Linux more and Windows less**




More information about the Bogofilter mailing list