Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest build boost-cpp=1.74.0 causes "undefined symbol" error when importing rdkit.Chem from Python #93

Closed
greglandrum opened this issue Feb 5, 2022 · 4 comments

Comments

@greglandrum
Copy link
Contributor

There's a problem with the RDKit and the most recent boost-cpp build. With boost-cpp 1.74.0-h359cf19_5 everything is fine, but with boost-cpp=1.74.0=h359cf19_6 I get the following:

(rdkit_tmp) glandrum@Badger:~$ python -c 'from rdkit import Chem'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/glandrum/miniconda3/envs/rdkit_tmp/lib/python3.9/site-packages/rdkit/Chem/__init__.py", line 23, in <module>
    from rdkit.Chem.rdmolfiles import *
ImportError: /home/glandrum/miniconda3/envs/rdkit_tmp/lib/python3.9/site-packages/rdkit/Chem/../../../../libRDKitmaeparser.so.1: undefined symbol: _ZN5boost9iostreams4zlib8deflatedE

This was originally reported by @guenp in the RDKit repo:
rdkit/rdkit#4987

Is it possible to manually trigger a rebuild of this repo to see if it clears that up?

@hadim
Copy link
Member

hadim commented Feb 6, 2022

I got the same issue as well. I'll open a PR to trigger a rebuild.

@hadim
Copy link
Member

hadim commented Feb 6, 2022

@conda-forge/rdkit: should we mark those packages as broken?

@hadim
Copy link
Member

hadim commented Feb 7, 2022

Pretty sure boost-cpp=1.74 build 7 (from conda-forge/boost-cpp-feedstock#115) resolves the issue for me so likely for the others too.

Please confirm.

@greglandrum
Copy link
Contributor Author

Yep, that resolves it.
Thanks for noticing @hadim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants