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

Building a relocatable application #566

Closed
bachdavi opened this issue Jun 17, 2024 · 1 comment
Closed

Building a relocatable application #566

bachdavi opened this issue Jun 17, 2024 · 1 comment

Comments

@bachdavi
Copy link

bachdavi commented Jun 17, 2024

Hello 👋

I'm using PackageCompiler.jl to build an app that has Gurobi.jl as one of its dependencies. Everything works fine, but the app relies on artifacts on the build machine. When running the app in on another machine I get the following error:

Error: could not load library \"/root/.julia/artifacts/79f6322f611b73845e645125d5a54f17b16f6428/gurobi1100/linux64/lib/libgurobi110.so\"

The build machine has a local gurobi installation and I pass its location via GUROBI_HOME. On the other machine I also have GUROBI_HOME set properly.

I would like that Gurobi.jl would point to the .so file from GUROBI_HOME instead of the local artifact.

I'm using Gurobi.jl 1.3.0 and am passing GUROBI_JL_USE_GUROBI_JLL=false to the build machine.

Do you know how we could get this to work?

Thanks!

@bachdavi
Copy link
Author

I got it to work :)

Updating to 1.3.0 did the trick, I somehow must have missed something else in the process!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant