#39713: py-chm: missing symbol causes gnochm to exit with error ----------------------+------------------------- Reporter: devans@… | Owner: jameskyle@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: py-chm ----------------------+------------------------- When running port gnochm, the program exits with the following error: {{{ You do not have all of the required Python modules to run gnochm. Check the gnochm README file for tips on how to fix this. What follows is the error description highlighting the problematic module. dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5 /site-packages/chm/extra.so, 2): Symbol not found: _get_leaf_node_offset Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5 /site-packages/chm/extra.so Expected in: flat namespace in /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5 /site-packages/chm/extra.so }}} In fact, symbol _get_leaf_node_offset is undefined in extra.so which is provided by py25-chm. The problem appears to be a result of function get_leaf_node_offset (as well as others) being declared inline in file chm/extra.c in port py-chm The attached patch fixes the problem by removing the inline declarations from this file. -- Ticket URL: <https://trac.macports.org/ticket/39713> MacPorts <http://www.macports.org/> Ports system for OS X