[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: BerkeleyDB4.2 not looked for in "./configure"?

From: Jack Ivey <ivey_at_altair.com>
Date: 2004-02-26 23:30:08 CET

Ok, I'm also having problems convincing Apache to compile with
db4.2. I'm not getting any errors, but when I run the test
suggested by John in the faq patch, it looks like httpd was
linked with the db-4.0 installed on the system. Any hints?

Thanks,
Jack

My steps:

<get db-4.2.52 tar file>
$ cd db-4.2.52/build_unix
$ ../dist/configure
$ make
# make install
<edit /etc/ld.so.conf, add line: /usr/local/BerkeleyDB.4.2/lib>
<- in /usr/local/BerkeleyDB.4.2/lib/ add link from libdb-4.2.la to libdb.la>

<- get httpd-2.0.48.tar.gz>
$ cd httpd-2.0.48
$ ./buildconf
$ ./configure --enable-dav --enable-so
--with-berkeley-db=/usr/local/BerkeleyDB.4.2
$ make
# make install
$ ldd /usr/local/apache2/bin/httpd | fgrep libdb
          libdb-4.0.so => /lib/libdb-4.0.so (0x4003c000)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 26 23:29:49 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.