Bug 228526 - databases/neo4j: Running `cypher-shell` results in "Unable to locate cypher-shell library files"
Summary: databases/neo4j: Running `cypher-shell` results in "Unable to locate cypher-s...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jonathan Anderson
URL:
Keywords: needs-qa, regression
Depends on: 228532 255103
Blocks:
  Show dependency treegraph
 
Reported: 2018-05-27 03:16 UTC by Mateusz Piotrowski
Modified: 2021-04-15 23:23 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (jonathan)
0mp: maintainer-feedback?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Piotrowski freebsd_committer 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 freebsd_triage 2019-08-14 09:32:48 UTC
Maintainer feedback,please!
Comment 2 Wen Heping freebsd_committer 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 2021-04-15 23:22:44 UTC
(In reply to Wen Heping from comment #2)
Unfortunately, I don't use neo4j anymore.