New 0.15.13 rpms

Chris Wilkes cwilkes-bf at ladro.com
Wed Dec 31 19:04:15 CET 2003


On Wed, Dec 31, 2003 at 11:07:35AM -0500, David Relson wrote:
> 
> I've built some new rpms for bogofilter-0.15.13 with the intent of
> fixing recent dependency problems.  Please download and test and report
> back to the list.  If they're OK, 0.15.13 will be promoted to "stable".
> 
>    ftp://ftp.osagesoftware.com/pub/outgoing/bogofilter/CURRENT.RELEASE
> 
>    bogofilter-0.15.13-2.src.rpm

I've managed to run into the same problem I had before with db4:
  http://article.gmane.org/gmane.mail.bogofilter.general/5805/
where it can't find the /usr/lib/libdb.so (which exists) as,
apaparently, it is looking for it under /usr/local/BerkeleyDB.4.1 per
your post.  What's odd is that looking at the spec file generated I
can't find a reference to where it should look for this library.

Here's some selected output from my build commmand:
  rpmbuild -vv --rebuild bogofilter-0.15.13-2.src.rpm
The full log file and spec file are here:
  http://ladro.com/bf/rpm-0.15.13-2.log
  http://ladro.com/bf/bogofilter.spec

My system info:
distro:   RedHat 9.0
kernel:   2.4.20-8
glibc:    2.3.2-27.9.7
DB4 rpms: db4-devel-4.0.14-20 db4-4.0.14-20 db4-utils-4.0.14-20

You mentioned
  What may help is to install the source rpm, then use
  "autogen --with-libdb-prefix=/usr"
Not being an experience RPM user how do I specify that?  Should I put it
in my rpmmacros file?

Chris


checking how to link with libdb... -ldb checking if a program can be
linked against BerkeleyDB and run... yes checking if BerkeleyDB header
and library versions match... yes 

gcc -DBOGOFILTER  -O2 -g -pipe -march=i386 -mcpu=i686  -Wpointer-arith
-ggdb -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow
-Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings
-Waggregate-return -Wmissing-declarations -Wmissing-format-attribute
-Wnested-externs -fno-common -Wchar-subscripts -Wcomment -Wimplicit
-Wsequence-point -Wreturn-type -Wno-system-headers   -o
bogofilter_static -static bogofilter.o main.o method.o graham.o
robinson.o fisher.o libbogofilter.a  strlcpy.o strlcat.o -ldb
libbf_gsl.a -lm
/usr/bin/ld: cannot find -ldb
collect2: ld returned 1 exit status
make[3]: *** [bogofilter_static] Error 1




More information about the Bogofilter mailing list