RDKIT error with KNIME 4.3: Could not load native RDKit library

I’m getting an error with all RDKit nodes with the new KNIME 4.3: Could not load native RDKit library.

macos 10.14.6

I’ve tried a clean 4.3 install with minimum nodes without success. Debug log available if required.

I think it might be looking for /usr/local/opt/freetype/lib/libfreetype.6.dylib, but there’s no /usr/local/opt directory in 10.14.6, and that library is in /usr/local/lib.

WARN  RDKit From Molecule  0:2        Could not load native RDKit library: /Applications/KNIME 4.3.0.app/Contents/Eclipse/plugins/org.rdkit.knime.bin.macosx.x86_64_4.1.0.v202010300356/os/macosx/x86_64/libGraphMolWrap.jnilib: dlopen(/Applications/KNIME 4.3.0.app/Contents/Eclipse/plugins/org.rdkit.knime.bin.macosx.x86_64_4.1.0.v202010300356/os/macosx/x86_64/libGraphMolWrap.jnilib, 1): Library not loaded: /usr/local/opt/freetype/lib/libfreetype.6.dylib
  Referenced from: /Applications/KNIME 4.3.0.app/Contents/Eclipse/plugins/org.rdkit.knime.bin.macosx.x86_64_4.1.0.v202010300356/os/macosx/x86_64/libGraphMolWrap.jnilib
  Reason: image not found

(the other) Simon

Hi @greglandrum,
Are you able to confirm this as a problem with macos & 4.3? Reverting back to 4.2.3 clears the problem.
There seem to be others reporting the same issue:
https://forum.knime.com/t/knime-4-3-rdkit-issues-mac-os/29262/3

(the other) Simon

Fix over in the other thread:

2 Likes

Thanks Greg! The RDKIT nodes are back in working order.

Natasja

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.