Re: LWP: Using Berkely DB with Perl

Chris Dean (ctdean@cogit.com)
Tue, 01 Apr 1997 21:55:26 -0800


Rodney Wines <rodney.wines@ahqps.alcatel.fr> writes:

> I've downloaded and built db.1.85 and built it successfully.  I've got a
> "libdb.a" file, but now I don't know what to do with it.  Can anybody tell 
> me how to include this in my Perl 5.003 installation? The Berkely 
> documentation just tells how to build it, and the second edition Camel book 
> just tells how to use it.  I can't figure out how to add it into Perl.

Put db.h and sys/cdefs.h in /usr/local/include and libdb.a in
/usr/local/lib.  Then rebuild and reinstall Perl.

If you put the .h and .a files somewhere else you'll have to use 
	sh Configure -des \
		-Dlocincpth="/usr/you/include" \
		-Dloclibpth="/usr/you/lib"
as describe in INSTALL.

Also,