Problem Building Python2.1 on RedHat 7.1
Coy Krill
coy.krill at verizon.net
Fri May 25 13:28:57 EDT 2001
I built Python 2.1 for my RH 7.1 laptop just fine back in April using the
src rpm from tummy.com. Last night I spent HOURS building/rebuilding it on
my RH 7.1 desktop and am having a very strange problem. Here is the
traceback:
Traceback (most recent call last):
File "./chkexport.py", line 52, in ?
shelf = shelve.open(sys.argv[1])
File "/usr/lib/python2.1/shelve.py", line 158, in open
return DbfilenameShelf(filename, flag)
File "/usr/lib/python2.1/shelve.py", line 148, in __init__
Shelf.__init__(self, anydbm.open(filename, flag))
File "/usr/lib/python2.1/anydbm.py", line 85, in open
mod = __import__(result)
File "/usr/lib/python2.1/dbhash.py", line 5, in ?
import bsddb
ImportError: /usr/lib/python2.1/lib-dynload/bsddb.so: undefined symbol:
dbopen
Somehow bsddb.so is getting built without any linkage to libdb.so.2.Anyone
have any idea what may be causing the problem? The only difference between
April and now are the installation of RedHat errata.
Thanks,
Coy
More information about the Python-list
mailing list