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

Deploying to Heroku #1631

Closed
johanandre opened this issue Nov 6, 2020 · 2 comments
Closed

Deploying to Heroku #1631

johanandre opened this issue Nov 6, 2020 · 2 comments

Comments

@johanandre
Copy link

johanandre commented Nov 6, 2020

Is there anyone else getting build error on Heroku?

 !     LoadError: Could not open library 'libseabolt17': libseabolt17: cannot open shared object file: No such file or directory.
 !     Could not open library 'libseabolt17.so': libseabolt17.so: cannot open shared object file: No such file or directory

Am I missing a buildpack or something?

The app is a Rails 6.0.3.4 application with:

gem 'neo4j-rake_tasks'
gem 'activegraph', '~> 10.0.1'
gem 'neo4j-ruby-driver', '~> 1.7.0'
@klobuczek
Copy link
Member

If you tested your application locally you must have followed the neo4j-ruby-driver README.

@johanandre
Copy link
Author

Solved.

heroku buildpacks:add --index 1 heroku-community/apt --app YOUR_APPLICATION

Create an Aptfile in project root:

libssl1.0.0
https://github.com/neo4j-drivers/seabolt/releases/download/v1.7.4/seabolt-1.7.4-Linux-ubuntu-18.04.deb

Set an environment variable:

LD_LIBRARY_PATH=./.apt/usr/local/lib

Deploy your application...

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

2 participants