[Python-bugs-list] [ python-Bugs-440725 ] setup.py does not properly build bsddb

noreply@sourceforge.net noreply@sourceforge.net
Mon, 20 Aug 2001 21:24:56 -0700


Bugs item #440725, was opened at 2001-07-12 09:30
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=440725&group_id=5470

Category: Build
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Skip Montanaro (montanaro)
>Assigned to: Skip Montanaro (montanaro)
Summary: setup.py does not properly build bsddb

Initial Comment:
On my Mandrake system, if the db2-devel RPM is
installed it will compile and link bsddb.o and
bsddb.so,
but importing bsddb fails because the .so wasn't
linked with -ldb2, so the dbopen symbol isn't defined.

The attached context diff solves the problem for me.
Note that it's possible that any or all of libdb3,
libdb2,
or libdb1 are installed.

----------------------------------------------------------------------

>Comment By: Skip Montanaro (montanaro)
Date: 2001-08-20 21:24

Message:
Logged In: YES 
user_id=44345

okay, Guido said, "go ahead", so I just checked in
setup.py 1.51 with my libdb finding patch.  I've
assigned this patch to myself.  Please feel free
to comment with or without changes to setup.py...


----------------------------------------------------------------------

Comment By: Thomas Wouters (twouters)
Date: 2001-07-19 02:54

Message:
Logged In: YES 
user_id=34209

I'm wary of submitting this without a release candidate
before-hand... Consider it postponed for 2.1-maint, unless
we have another release candidate. It's still a good idea
for 2.2, IMHO, though.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=440725&group_id=5470