[Python-Dev] Undefined reference to dlopen (was: Pydoc Replacement for Python's help()?)

Cyd Haselton chaselton at gmail.com
Tue Jan 27 16:56:53 CET 2015

On Tue, Jan 27, 2015 at 6:52 AM, Skip Montanaro
<skip.montanaro at gmail.com> wrote:
> On Tue, Jan 27, 2015 at 6:31 AM, Cyd Haselton <chaselton at gmail.com> wrote:
>> Additionally it appears as though some modules were not built with the
>> correct links to -lc -ldl, even though I added them as dependencies in
>> Setup and setup.py, as well as in the appropriate env variables.
>> Importing string, tokenize, operator, inspect...and probably others I
>> haven't tested...throw the 'undefined reference to dlopen' error.
> Is this another topic? If so, please start another thread. People
> glancing at subjects
> won't recognize that you're now tackling a different problem.
> The modules you mention here (as well as pydoc) are all pure Python modules.
> I don't think any of them would have directly triggered a dlopen error. Do you
> have a traceback?
> Skip

Apologies for the confusion; the above was not intended to be another
topic but an explanation of why the help() module failed in my port
and why I believe I'll need to start over.

Basically...between my original email and the one above, I managed to
review the pydoc.py code, test the imports in said code and discover
ones (not tkinter) that were causing errors.

More information about the Python-Dev mailing list