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

could not load library "libstdc++" #259

Closed
rmpdelima opened this issue Oct 30, 2019 · 1 comment · Fixed by #263
Closed

could not load library "libstdc++" #259

rmpdelima opened this issue Oct 30, 2019 · 1 comment · Fixed by #263
Labels
Installation troubles Issues in which the user had trouble installing

Comments

@rmpdelima
Copy link

rmpdelima commented Oct 30, 2019

I am running Mac OS 10.13.6 and JuliaPro 1.2.
I tried to install CPLEX v0.5.1 but I get this error when building:

ERROR: LoadError: could not load library "libstdc++"
dlopen(libstdc++.dylib, 9): image not found

I am lost and need some help.

This is the output of adding the CPLEX package

(v1.2) pkg> add CPLEX#Master
  Updating git-repo `https://github.com/JuliaOpt/CPLEX.jl.git`
 Resolving package versions...
  Updating `~/.juliapro/JuliaPro_v1.2.0-1/environments/v1.2/Project.toml`
  [a076750e] + CPLEX v0.5.1 #Master (https://github.com/JuliaOpt/CPLEX.jl.git)
  Updating `~/.juliapro/JuliaPro_v1.2.0-1/environments/v1.2/Manifest.toml`
  [a076750e] + CPLEX v0.5.1 #Master (https://github.com/JuliaOpt/CPLEX.jl.git)
  [f8899e07] + LinQuadOptInterface v0.6.0
  [b8f27783] + MathOptInterface v0.8.4
  [fdba3010] + MathProgBase v0.7.7

Here is the output status

(v1.2) pkg> status
    Status `~/.juliapro/JuliaPro_v1.2.0-1/environments/v1.2/Project.toml`
  [c52e3926] Atom v0.11.2
  [a076750e] CPLEX v0.5.1 #Master (https://github.com/JuliaOpt/CPLEX.jl.git)
  [60bf3e95] GLPK v0.10.0
  [2e9cd046] Gurobi v0.6.0
  [7073ff75] IJulia v1.20.0
  [4076af6c] JuMP v0.19.2
  [e5e0dc1b] Juno v0.7.2
@odow odow added the Installation troubles Issues in which the user had trouble installing label Oct 30, 2019
@rmpdelima
Copy link
Author

Meanwhile, I did the same steps to install CPLEX in Julia 1.2.0 (not in the JuliaPro installation above), and it worked fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Installation troubles Issues in which the user had trouble installing
Development

Successfully merging a pull request may close this issue.

2 participants