It never fails (bsddb retirement in 2.3)

Martin v. Löwis martin at v.loewis.de
Mon May 5 17:18:11 EDT 2003


Nick Vargish <nav at adams.patriot.net> writes:

> I am actively looking into adding "install the Sleepycat bsddb
> libraries", but the documentation is not completely clear. Where
> should I install these libraries so that they (1) do not interfere
> with /lib/libdb.a and (2) are automatically found by Python's
> configure script?

The standard install location (/usr/local/BerkeleyDBXY) should work
just fine. Python knows to look there, and it is not on any system
path.

Just be careful with using shared libraries; you may find that the
system won't find the shared libraries in this location, either.  The
typical Linux installation puts the headers into /usr/include/dbX, and
the libraries in /usr/lib (where shared libraries don't conflict due
to the different major version). Python look there as well.

Regards,
Martin




More information about the Python-list mailing list