On Tue, 2 Oct 2001, [EMAIL PROTECTED] wrote: > I just installed apache 1.3.20, mod_perl 1.26 on a Redhat 7.1 > perl 5.6.0 > > When I go to start apache with my startup.pl file it fails and says > > DB_File needs compatible versions of libdb & db.h > you have db.h version 3.1.17 and libdb version 2.4.14
You've run into the classic problem of having a DB version preinstalled (or as part of glibc) that wasn't fully replaced by a new install. You're getting the DB header from the new install and the library from the old. My solution (on SuSE) was to use LD_PRELOAD, but your best bet is to try the recommendations in the troubleshooting section of the DB_File distribution's README. The sections "Incompatible versions of db.h and libdb" and "Linux Notes" are particularly relevant. The file docs/ref/build_unix/shlib.html in the Berkeley DB distribution also discusses the details of shared library versions. -- Jonathan Conway "Reverse Polish LISP" - for those times Forth [EMAIL PROTECTED] just isn't on enough crack.