shl_load() on HP-UX V11.00

rerwig at my-deja.com rerwig at my-deja.com
Thu Mar 23 04:34:31 EST 2000


L.S.,
Using Python 1.5.2 on HP-UX V11.00 gave me some problems related to
using MQ. Function shl_load(), as used inside Python in module
importdl.c, failed on importing some libs containing Thread Local
Storage (liblc.sl).

HP advises on using the (new?) 64bits functions dlopen() etc., which
currently isn't used in the Python distribution (at least in the one I
use...)

Workaround: build Python and link MQ directly inside Python by patching
file Modules/Makefile.pre, LIBS= ...-lmqm_r so Python doesn't need to
dynamically load this and depending libraries. Maybe this solution also
works for other libs containing Thread Local Storage.

Hopes this might be of help.
Ruud


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list