It never fails (bsddb retirement in 2.3)

Nick Vargish nav at bandersnatch.org
Mon May 5 14:51:34 EDT 2003


Quoting Skip Montanaro <skip at pobox.com>:

> Note that with my patch modifying Modules/Setup directly won't be
> necessary. The bsddb185 module will be built automatically under 
> restricted conditions (/usr/include/db.h is present and defines 
> HASHVERSION to be 2).  You should  *only* use this setup indirectly via 
> the anydbm.open() function.  Don't use bsddb185 directly.

Quick report from the field. I'm getting an error here:

building 'bsddb185' extension
cc -Olimit 1500 -DNDEBUG -O -I.
-I/usr/users/nvargish/src/Python-2.3b1/./Include
-I/usr/local/python-2.3b1/include -I/usr/local/include
-I/usr/users/nvargish/src/Python-2.3b1/Include
-I/usr/users/nvargish/src/Python-2.3b1 -c
/usr/users/nvargish/src/Python-2.3b1/Modules/bsddbmodule.c -o
build/temp.osf1-V5.1-alpha-2.3/bsddbmodule.o
ld -shared -expect_unresolved * build/temp.osf1-V5.1-alpha-2.3/bsddbmodule.o
-L/usr/local/python-2.3b1/lib -L/usr/local/lib -o
build/lib.osf1-V5.1-alpha-2.3/bsddb185.so
*** WARNING: renaming "bsddb185" since importing it failed: dlopen:
build/lib.osf1-V5.1-alpha-2.3/bsddb185.so: symbol "dbopen" unresolved

(Sorry about the linebreaks, but that should convey the relevant part
of the build...)  I will see if I can figure out what's going on myself,
but if someone else can help, that would be great.

Thanks for all your help, Skip... You've been a marvel of understanding
and patience!

Nick

-- 
Nick Vargish  ||  nav at bandersnatch.org  ||  http://nav.bandersnatch.org/





More information about the Python-list mailing list