Cause ImportError from failed dlopen of the rdBase.so shared library to propagate. (#1032)
Cause ImportError from failed dlopen of the rdBase.so shared library to propagate. (#1032)

Without this, it's very easy to get a SegFault when importing RDKit
binaries into a python interpreter with a UCS2 vs UCS4 symbol
mismatch. For example:

$ python -c "import rdkit.rdBase"
Segmentation fault

A UCS2 vs UCS4 mismatch should throw the more intelligible stack trace:

$ python -c "import rdkit.rdBase"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "rdkit/__init__.py", line 2, in <module>
    from .rdBase import rdkitVersion as __version__
ImportError: /path/to/lib/libboost_python.so.1.59.0: undefined symbol: PyUnicodeUCS2_FromEncodedObject
bp-kelley/rdkit,adalke/rdkit,ptosco/rdkit,rvianello/rdkit,ptosco/rdkit,adalke/rdkit,bp-kelley/rdkit,greglandrum/rdkit,greglandrum/rdkit,bp-kelley/rdkit,ptosco/rdkit,ptosco/rdkit,greglandrum/rdkit,jandom/rdkit,adalke/rdkit,rdkit/rdkit,greglandrum/rdkit,adalke/rdkit,jandom/rdkit,rdkit/rdkit,rvianello/rdkit,adalke/rdkit,bp-kelley/rdkit,rdkit/rdkit,ptosco/rdkit,rvianello/rdkit,ptosco/rdkit,jandom/rdkit,bp-kelley/rdkit,rdkit/rdkit,bp-kelley/rdkit,greglandrum/rdkit,rvianello/rdkit,greglandrum/rdkit,greglandrum/rdkit,rvianello/rdkit,adalke/rdkit,rvianello/rdkit,jandom/rdkit,ptosco/rdkit,bp-kelley/rdkit,jandom/rdkit,adalke/rdkit,rdkit/rdkit,bp-kelley/rdkit,rvianello/rdkit,rdkit/rdkit,jandom/rdkit,jandom/rdkit,greglandrum/rdkit,rdkit/rdkit,rvianello/rdkit,ptosco/rdkit,adalke/rdkit,rdkit/rdkit,jandom/rdkit