RDKit Library not loaded: @rpath/libz.1.dylib

Loading of RDKit nodes fails with below error. Any idea whats going wrong?

2021-11-14 03:00:29,648 INFO main RDKitTypesPluginActivator : The operating system/architecture macosx.x86_64 is supported.
2021-11-14 03:00:29,649 INFO main RDKitTypesPluginActivator : The RDKit Binary Plugin org.rdkit.knime.bin.macosx.x86_64 has been found.
2021-11-14 03:00:29,649 INFO main RDKitTypesPluginActivator : The versions of the RDKit Binary and Types Plugin are matching: 4.3.0.v202106041552
2021-11-14 03:00:29,651 ERROR main RDKitTypesPluginActivator : Loading of library libGraphMolWrap.dylib failed: /scr/localbuildbot/slave/Schrodinger Installation/knime-v5.6/bin/Darwin-x86_64/knime/Knime.app/Contents/Eclipse/plugins/org.rdkit.knime.bin.macosx.x86_64_4.3.0.v202105060406/os/macosx/x86_64/libGraphMolWrap.dylib: dlopen(/scr/localbuildbot/slave/Schrodinger Installation/knime-v5.6/bin/Darwin-x86_64/knime/Knime.app/Contents/Eclipse/plugins/org.rdkit.knime.bin.macosx.x86_64_4.3.0.v202105060406/os/macosx/x86_64/libGraphMolWrap.dylib, 1): Library not loaded: @rpath/libz.1.dylib
Referenced from: /scr/localbuildbot/slave/Schrodinger Installation/knime-v5.6/bin/Darwin-x86_64/knime/Knime.app/Contents/Eclipse/plugins/org.rdkit.knime.bin.macosx.x86_64_4.3.0.v202105060406/os/macosx/x86_64/libGraphMolWrap.dylib
Reason: image not found
java.lang.UnsatisfiedLinkError: /scr/localbuildbot/slave/Schrodinger Installation/knime-v5.6/bin/Darwin-x86_64/knime/Knime.app/Contents/Eclipse/plugins/org.rdkit.knime.bin.macosx.x86_64_4.3.0.v202105060406/os/macosx/x86_64/libGraphMolWrap.dylib: dlopen(/scr/localbuildbot/slave/Schrodinger Installation/knime-v5.6/bin/Darwin-x86_64/knime/Knime.app/Contents/Eclipse/plugins/org.rdkit.knime.bin.macosx.x86_64_4.3.0.v202105060406/os/macosx/x86_64/libGraphMolWrap.dylib, 1): Library not loaded: @rpath/libz.1.dylib
Referenced from: /scr/localbuildbot/slave/Schrodinger Installation/knime-v5.6/bin/Darwin-x86_64/knime/Knime.app/Contents/Eclipse/plugins/org.rdkit.knime.bin.macosx.x86_64_4.3.0.v202105060406/os/macosx/x86_64/libGraphMolWrap.dylib
Reason: image not found
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(Unknown Source)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(Unknown Source)
at java.base/java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.base/java.lang.Runtime.loadLibrary0(Unknown Source)
at java.base/java.lang.System.loadLibrary(Unknown Source)
at org.rdkit.knime.RDKitTypesPluginActivator.investigateBinariesIssue(RDKitTypesPluginActivator.java:289)
at org.rdkit.knime.RDKitTypesPluginActivator.start(RDKitTypesPluginActivator.java:175)

Hi @ravikiran, sorry for the slow reply.
I tested this morning with the RDKit nightlies on both very old and very new versions of MacOS and had no problems on either system

From the error above it looks like you are using a KNIME distribution provided by Schrodinger. Since I don’t have access to this, it’s difficult to answer questions about it. You might want to try asking your Schrodinger support person if they can help.

Hi @greglandrum ,

Thanks for your response. I will check with my team here in Schrodinger. Also, I will try to reproduce this issue outside of Schrodinger suite, in a aversion directly downloaded from KNIME.

Thanks
Ravikiran

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