Can't get bsddb working on Solaris 8

partofthething partofthething at
Tue Mar 18 04:55:54 CET 2008

I've been struggling with this all day. I am trying to get Python 2.5
running with the BerkeleyDB bindings provided by bsddb.

First, I downloaded the BerkeleyDB system (version 4.5) from

Then, I downloaded bsddb from and
built it using my python 2.5 install with python2.5 build and
python2.5 install. During the install, the scripts explain
that they found the BerkeleyDB system version 4.5 right where I
installed it to.

I even tried rebuilding all of Python after my BerkeleyDB was set up.

My error persists:

 File "/usr/local/lib/python2.5/bsddb/", line 51, in
    import _bsddb
ImportError: No module named _bsddb

This is a Solaris 8 machine (SunOS 5.8). I've added the library path (/
usr/local/BerkeleyDB.4.5/lib) to LD_LIBRARY_PATH before building.

I'm out of ideas. Any help? Thanks.

More information about the Python-list mailing list