Bug 228526

Summary: databases/neo4j: Running `cypher-shell` results in "Unable to locate cypher-shell library files"
Product: Ports & Packages Reporter: Mateusz Piotrowski <0mp>
Component: Individual Port(s)Assignee: Jonathan Anderson <jonathan>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: w.schwarzenfeld, wen
Priority: --- Keywords: needs-qa, regression
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 228532, 255103    
Bug Blocks:    

Description Mateusz Piotrowski freebsd_committer freebsd_triage 2018-05-27 03:16:10 UTC
When I run `cypher-shell` I get the following error:

> Unable to locate cypher-shell library files

it looks like the problem is in this piece of code[1]. cypher-shell tries to find its library in /usr/local/neo4j/lib and fails. The reason is that "cypher-shell-all.jar" is installed into /usr/local/neo4j/libexec/tools. Does it have to be like this?

Details:
 * FreeBSD 12.0-CURRENT r333659 amd64
 * neo4j version: 3.3.2

[1]: https://github.com/neo4j/cypher-shell/blob/ed33edef35087ef6fdf16f562d1af6cf0fbe9fb3/cypher-shell/src/dist/cypher-shell#L68-L86
Comment 1 Walter Schwarzenfeld 2019-08-14 09:32:48 UTC
Maintainer feedback,please!
Comment 2 Wen Heping freebsd_committer freebsd_triage 2021-04-15 23:18:32 UTC
I send a patch to fix the run error of cypher-shell and update to 3.5.27,
would you have a test of it ? 
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255103
Comment 3 Mateusz Piotrowski freebsd_committer freebsd_triage 2021-04-15 23:22:44 UTC
(In reply to Wen Heping from comment #2)
Unfortunately, I don't use neo4j anymore.
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2024-01-07 11:51:42 UTC
^Triage: maintainership was reset long ago.

It seems that this PR is now OBE, as well.