Author: Onur Aslan Description: gumbo python module is trying to load libgumbo.so libgumbo3 package is providing libgumbo.so.3 This patch is making gumbo python module to load libgumbo.so.3 Forwarded: not-needed --- a/python/gumbo/gumboc.py +++ b/python/gumbo/gumboc.py @@ -41,12 +41,8 @@ try: _dll = ctypes.cdll.LoadLibrary(os.path.join( os.path.dirname(__file__), '..', '..', '.libs', _name_of_lib)) except OSError: - # PyPI or setuptools install, look in the current directory. - _dll = ctypes.cdll.LoadLibrary(os.path.join( - os.path.dirname(__file__), _name_of_lib)) -except OSError: # System library, on unix or mac osx - _dll = ctypes.cdll.LoadLibrary(_name_of_lib) + _dll = ctypes.cdll.LoadLibrary(_name_of_lib + '.3') # Some aliases for common types. _bitvector = ctypes.c_uint