[Python-bugs-list] [Bug #126564] Default of static linking 'bsddb' breaks 3rd party modules

noreply@sourceforge.net noreply@sourceforge.net
Sun, 31 Dec 2000 10:42:28 -0800


Bug #126564, was updated on 2000-Dec-20 22:25
Here is a current snapshot of the bug.

Project: Python
Category: Build
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 5
Submitted by: nobody
Assigned to : montanaro
Summary: Default of static linking 'bsddb' breaks 3rd party modules

Details: Python 2.0 builds the 'bsddb' module into the python interpreter
*static* by default.  When built this way on systems such as debian potato
linux and some versions of redhat linux (to name a few) it links statically
with an early BerkeleyDB 2.1.x.  This causes problems to the current and
under-development bsddb 3.x third party modules.  They import but the
functions they call are from the wrong library so they often coredump or
return unexpected error codes.

See the py-bsddb project on sourceforge.  Also see
http://electricrain.com/greg/python/ for the current stable py-bsddb3
module.

Short term solution: Make the default build method for this module *shared*
instead of static.

Long term solution: the py-bsddb project should be able to replace the old
bsddb module in the distribution.


Follow-Ups:

Date: 2000-Dec-31 10:42
By: montanaro

Comment:
It's easy enough for me (or someone else) to change "#*shared*" to
"*shared*" in Setup.config.in, but how do we know that either won't fix the
problem or won't cause other people to have problems?

Also, it would be really helpful if people logged in before submitting bugs
so the people who try to fix the bugs could correspond with them about the
problems they report...

Skip
 
-------------------------------------------------------

Date: 2000-Dec-30 18:20
By: fdrake

Comment:
Lots of the recent work on this is Skip's effort, so he can probably handle
this more quickly than the rest of us.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=126564&group_id=5470