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

neo4j-rdkit plugin : org.rdkit.neo4j.bin.LibraryLoaderLifecycle@6094de13' failed to initialize #17

Open
starz10de opened this issue Feb 7, 2022 · 0 comments

Comments

@starz10de
Copy link

starz10de commented Feb 7, 2022

I used the neo4j-rdkit plugin in (neo4j desktop) windows environment without any issue. However, I tried the the same for the neo4j-rdkit plugin within the neo4j docker image but with no success. I have found here another related post but unfortunately it doesn't solve my issue. Other neo4j plugins such as APOC, GDS, etc. worked fine with me.

Here the detailed error:

`docker run --user="$(id -u):$(id -g)" --publish=7474:7474 --publish=7687:7687 -e NEO4J_dbms_security_procedures_unrestricted=apoc.,gds.,n10s.,rdkit. -e NEO4J_rdkit_index_sanitize=true --volume=$HOME/data/neo4j/data:/var/lib/neo4j/data --volume=$HOME/data/neo4j/logs:/var/lib/neo4j/logs --volume=$HOME/data/neo4j/plugins:/var/lib/neo4j/plugins --volume=$HOME/data/neo4j/import:/var/lib/neo4j/import --name neo4j neo4j

2022-02-07 17:13:52.340+0000 INFO Starting...
2022-02-07 17:13:52.753+0000 INFO This instance is ServerId{f2bc4375} (f2bc4375-4ffd-45e6-ab0a-9b108d516b64)
2022-02-07 17:13:54.369+0000 INFO ======== Neo4j 4.4.3 ========
2022-02-07 17:13:54.722+0000 INFO Loading libraries from JAR
2022-02-07 17:13:54.839+0000 INFO trying to load native library /tmp/rdkit-153718487753989773/libGraphMolWrap.so
2022-02-07 17:13:54.854+0000 ERROR Failed to start Neo4j on 0.0.0.0:7474.
java.lang.RuntimeException: Error starting Neo4j database server at /data/databases
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:228) ~[neo4j-4.4.3.jar:4.4.3]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:181) ~[neo4j-4.4.3.jar:4.4.3]
at org.neo4j.server.CommunityBootstrapper.createNeo(CommunityBootstrapper.java:36) ~[neo4j-4.4.3.jar:4.4.3]
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:142) [neo4j-4.4.3.jar:4.4.3]
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:95) [neo4j-4.4.3.jar:4.4.3]
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:34) [neo4j-4.4.3.jar:4.4.3]
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.rdkit.neo4j.bin.LibraryLoaderLifecycle@6094de13' failed to initialize. Please see the attached cause exception "/tmp/rdkit-153718487753989773/libGraphMolWrap.so: libfreetype.so.6: cannot open shared object file: No such file or directory".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:424) ~[neo4j-common-4.4.3.jar:4.4.3]
at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:65) ~[neo4j-common-4.4.3.jar:4.4.3]
at org.neo4j.kernel.extension.AbstractExtensions.init(AbstractExtensions.java:77) ~[neo4j-kernel-4.4.3.jar:4.4.3]
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:403) ~[neo4j-common-4.4.3.jar:4.4.3]
at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:65) ~[neo4j-common-4.4.3.jar:4.4.3]
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:101) ~[neo4j-common-4.4.3.jar:4.4.3]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:219) ~[neo4j-4.4.3.jar:4.4.3]
... 5 more
Caused by: java.lang.UnsatisfiedLinkError: /tmp/rdkit-153718487753989773/libGraphMolWrap.so: libfreetype.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load0(Native Method) ~[?:?]
at java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2442) ~[?:?]
at java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2498) ~[?:?]
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2694) ~[?:?]
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2627) ~[?:?]
at java.lang.Runtime.load0(Runtime.java:768) ~[?:?]
at java.lang.System.load(System.java:1837) ~[?:?]
at org.rdkit.neo4j.bin.LibraryLoaderLifecycle.lambda$loadNativeLibraries$0(LibraryLoaderLifecycle.java:75) ~[rdkit-index-1.2.0-4.2.jar:?]
at java.util.ArrayList.forEach(ArrayList.java:1541) ~[?:?]
at org.rdkit.neo4j.bin.LibraryLoaderLifecycle.loadNativeLibraries(LibraryLoaderLifecycle.java:73) ~[rdkit-index-1.2.0-4.2.jar:?]
at org.rdkit.neo4j.bin.LibraryLoaderLifecycle.init(LibraryLoaderLifecycle.java:55) ~[rdkit-index-1.2.0-4.2.jar:?]
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:403) ~[neo4j-common-4.4.3.jar:4.4.3]
at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:65) ~[neo4j-common-4.4.3.jar:4.4.3]
at org.neo4j.kernel.extension.AbstractExtensions.init(AbstractExtensions.java:77) ~[neo4j-kernel-4.4.3.jar:4.4.3]
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:403) ~[neo4j-common-4.4.3.jar:4.4.3]
at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:65) ~[neo4j-common-4.4.3.jar:4.4.3]
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:101) ~[neo4j-common-4.4.3.jar:4.4.3]
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:219) ~[neo4j-4.4.3.jar:4.4.3]`

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

1 participant