This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: HP-UX shared library does not reference librt
Type: Stage:
Components: Build Versions: Python 2.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, goeran
Priority: normal Keywords:

Created on 2006-06-08 08:03 by goeran, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg28735 - (view) Author: Göran Uddeborg (goeran) Date: 2006-06-08 08:03
When using the Python engine shared library on HP-UX, I
get error messages like these:

/usr/lib/dld.sl: Unresolved symbol: sem_init (code) 
from /usr/local/lib/libpython2.4.sl

Looking a bit closer, I realize that the shared Python
library does not point to the librt library where these
functions are defined.  And this is specific for HP-UX.
 The rule in Makefile.pre.in to make libpython*.so does
refer to $(SHLIB).  But the HP-UX specific rule to make
libpython*.sl does not.

I suggest $(SHLIB) is added to the command to link
libpython*.sl.  Or alternatively, that these two rules
are merged into one, parameterized by a variable
holding the .so/.sl suffix.
msg28736 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-06-08 12:54
Logged In: YES 
user_id=849994

Added $(SHLIBS) to build rule for .sl in rev 46743, 46744 (2.4).
History
Date User Action Args
2022-04-11 14:56:17adminsetgithub: 43471
2006-06-08 08:03:29goerancreate