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

Linux aarch64 wheels #24

Closed
kuelumbus opened this issue Jan 12, 2022 · 6 comments · Fixed by #28 or #33
Closed

Linux aarch64 wheels #24

kuelumbus opened this issue Jan 12, 2022 · 6 comments · Fixed by #28 or #33

Comments

@kuelumbus
Copy link
Owner

Add aarch64 wheels

Originally posted by @RobinFrcd in #22 (comment)

@RobinFrcd
Copy link

Hello and thank you for the wheels!

However, it looks like some libs are missing:

In [1]: from rdkit.Chem.Draw import ReactionToImage
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-22522cb56040> in <module>
----> 1 from rdkit.Chem.Draw import ReactionToImage

/usr/local/lib/python3.7/site-packages/rdkit/Chem/Draw/__init__.py in <module>
     12 from importlib.util import find_spec
     13 
---> 14 from rdkit.Chem.Draw import rdMolDraw2D
     15 from rdkit.Chem.Draw.MolDrawing import MolDrawing, DrawingOptions
     16 from rdkit.Chem.Draw.rdMolDraw2D import *

ImportError: libGL.so.1: cannot open shared object file: No such file or directory

I tried installing rdkit on the same machine with conda, it works as expected.

I'm running on Linux 5.11.0-1022-aws #23~20.04.1-Ubuntu SMP Mon Nov 15 14:04:48 UTC 2021 aarch64 GNU/Linux.

@kuelumbus
Copy link
Owner Author

I don't think this is an issue with the wheel. libGL.so.1 is a system library that usually comes with your Linux distribution or is provided by the graphics driver (e.g., Nvidia).

On Ubuntu you should be able to install it with apt install libgl1. You might also need the package libgl1-mesa-dev.

Check out https://packages.ubuntu.com/search?suite=focal&arch=any&mode=filename&searchon=contents&keywords=libGL.so.1

@RobinFrcd
Copy link

That's what I tried, but it leads to a core dump :/

In [1]: from rdkit.Chem.Draw import ReactionToImage
Segmentation fault (core dumped)

However, no issue if I install rdkit from conda-forge.

@kuelumbus
Copy link
Owner Author

I can repo this. Thanks for reporting. I will have a look

@kuelumbus
Copy link
Owner Author

@RobinFrcd This should be fixed with 2021.9.5.1. Please let me know if you still encounter problems.

@RobinFrcd
Copy link

Thank you so much, we'll have a go asap !

cc @plokkkk

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