Help compiling python on HPUX

Corné Beerse beerse at
Mon Jan 27 13:39:11 CET 2003

"Paul D. Lusk" wrote:
> We are using python at Radford University on HPUX, but we have encountered
> a problem. When we moved the python executable from our test machine to
> the production machine, we got an error message when trying use
> DCOracle2:

If you just use python and have not altered the source way to much, try
to install the python from the porting site at or one of
the other mirrors.

Take note of the dependencies (ncurses) at the page.


> /usr/lib/ Can't shl_load() a library containing Thread Local
> Storage:
> /usr/lib/libcl.2
> /usr/lib/ Exec format error
> On the test machine, we solved this by setting LD_PRELOAD=/usr/lib/libcl.2
> before running python, but this does not work on the production machine.
> A Google search showed that this problem could be fixed by linking libcl.2
> in when building python, but I don't know where to change the makefile to
> do this. (My C and makefile knowledge is limited, although I did manage to
> compile GCC 3.2 and python 2.2.2 on my Mandrake 8.2 machine).
> Any help would be appreciated.

More information about the Python-list mailing list