[Python-bugs-list] [Bug #121121] Dynamic loading on Solaris does not work

noreply@sourceforge.net noreply@sourceforge.net
Mon, 13 Nov 2000 12:54:01 -0800


Bug #121121, was updated on 2000-Nov-02 08:33
Here is a current snapshot of the bug.

Project: Python
Category: Core
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 4
Summary: Dynamic loading on Solaris does not work

Details: Dynamic loading of shared libraries (Python/dynload_shlib) does not work under Solaris. This is due to a bug in the autoconf script. The patch at ftp://ftp.thewrittenword.com/outgoing/pub/python-2.0-solaris-dynload.patch fixes it.

The problem is that AC_CHECK_LIB(dl, dlopen) will never define HAVE_DLOPEN (AC_CHECK_FUNCS(dlopen) does that) which in turn will never define $ac_cv_func_dlopen. Anyway, using internal autoconf macros is icky. Redo the autoconf test because it will cache the results.

-- 
albert chin (china@thewrittenword.com)

Follow-Ups:

Date: 2000-Nov-02 10:08
By: gvanrossum

Comment:
Thanks for the patch; but would you be so kind to submit the patch to the SourceForge patch manager?
See http://sourceforge.net/patch/?group_id=5470
-------------------------------------------------------

Date: 2000-Nov-02 10:14
By: tww-account

Comment:
Ok, patch uploaded to the SourceForge patch manager.
-------------------------------------------------------

Date: 2000-Nov-13 12:54
By: gvanrossum

Comment:
Albert, would you be so kind to try again with the CVS version?

We didn't follow your suggestions (I can't find your patch on SF -- what's the patch id?) but we did change a few things. According to Greg Ward it now should work on Solaris. I can't test that beucase I have no acccess to a Solaris machine.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=121121&group_id=5470