--- official/openbabel.py 2017-01-07 22:18:54.973380119 +0100 +++ patched/openbabel.py 2017-01-07 22:18:49.123380281 +0100 @@ -3,7 +3,10 @@ try: import dl except ImportError: - import DLFCN as dl + try: + import DLFCN as dl + except ImportError: + import os as dl sys.setdlopenflags(sys.getdlopenflags() | dl.RTLD_GLOBAL) # This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.10