[Python-bugs-list] [ python-Bugs-761504 ] Problem building site package bsddb3 on AIX

SourceForge.net noreply@sourceforge.net
Thu, 26 Jun 2003 15:24:50 -0700


Bugs item #761504, was opened at 2003-06-26 18:24
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=761504&group_id=5470

Category: Distutils
Group: Python 2.2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Richard Wheeler (wheelrl)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problem building site package bsddb3 on AIX

Initial Comment:
Help.  Trying to build and install bsddb3-4.1.3 on AIX 
4.3.2.  Setup.py produce:

cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -
I/mksDev/local/BerkeleyDB.4.1.25/include -
I/mksDev/local/include/python2.2 -c extsrc/_bsddb.c -o 
build/temp.aix-4.3-2.2/_bsddb.o

which the -W options are not valid with IBM's version 5 
compiler.  Removed the -W options and was able to 
compile _bsddb.o.

Linker runs next with:

/usr/local/lib/python2.2/config/ld_so_aix cc -
bI:/usr/local/lib/python2.2/config/python.exp 
build/temp.aix-4.3-2.2/_bsddb.o -
L/mksDev/local/BerkeleyDB.4.1.25/lib -ldb -o build/lib.aix-
4.3-2.2/bsddb3/_bsddb.so

which uses the wrong prefix, replaced it with:

/mksDev/local/lib/python2.2/config/ld_so_aix cc -
bI:/mksDev/local/lib/python2.2/config/python.exp 
build/temp.aix-4.3-2.2/_bsddb.o -
L/mksDev/local/BerkeleyDB.4.1.25/lib -ldb -o build/lib.aix-
4.3-2.2/bsddb3/_bsddb.so

now I get:

ld: 0711-317 ERROR: Undefined 
symbol: .pthread_mutex_destroy
ld: 0711-317 ERROR: Undefined 
symbol: .pthread_mutex_lock
ld: 0711-317 ERROR: Undefined 
symbol: .pthread_cond_signal
ld: 0711-317 ERROR: Undefined 
symbol: .pthread_mutex_unlock
ld: 0711-317 ERROR: Undefined 
symbol: .pthread_mutex_trylock
ld: 0711-317 ERROR: Undefined 
symbol: .pthread_cond_wait
ld: 0711-317 ERROR: Undefined 
symbol: .pthread_mutexattr_init
ld: 0711-317 ERROR: Undefined 
symbol: .pthread_mutexattr_setpshared
ld: 0711-317 ERROR: Undefined 
symbol: .pthread_mutex_init
ld: 0711-317 ERROR: Undefined 
symbol: .pthread_mutexattr_destroy
ld: 0711-317 ERROR: Undefined 
symbol: .pthread_condattr_init
ld: 0711-317 ERROR: Undefined 
symbol: .pthread_condattr_setpshared
ld: 0711-317 ERROR: Undefined 
symbol: .pthread_cond_init
ld: 0711-317 ERROR: Undefined 
symbol: .pthread_condattr_destroy
ld: 0711-345 Use the -bloadmap or -bnoquiet option to 
obtain more information.

I could really use some help here.  I have successfully 
build the bsddb3 before with a prior version.

Thanks




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

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