Closed tkosaka1976 closed 6 years ago
What files are in /Library/gurobi810/mac64/lib/
?
Here is the line that dictates what you need to set GUROBI_HOME
to
https://github.com/JuliaOpt/Gurobi.jl/blob/67eaa2377eb549ab0a5729ac025849c50ff9422d/deps/build.jl#L24
This is the files list in "/Library/gurobi810/mac64/lib/"
gurobi-javadoc.jar gurobi.jar gurobi.py gurobi81.netstandard20.dll gurobi81.netstandard20.xml libGurobiJni81.jnilib libgurobi81.dylib libgurobi81_light.dylib libgurobi_c++.a libgurobi_g++4.2.a libgurobi_stdc++.a python2.7 python3.5 python3.6 python3.7 rootcert.pem
Should I set GUROBI_HOME as "/Library/gurobi810/mac64/lib/"?
Having this exact issue Set GUROBI_HOME = my path all the way to mac64 Even changed location of folder from my main library to the local folder of Gurobi within .julia to no avail
I guess Gurobi no longer use .so
...
https://github.com/JuliaOpt/Gurobi.jl/blob/67eaa2377eb549ab0a5729ac025849c50ff9422d/deps/build.jl#L30
Try adding the following lines to Gurobi/deps/build.jl
and re-run Pkg.build("Gurobi")
if Compat.Sys.isunix()
push!(paths_to_try, joinpath(ENV["GUROBI_HOME"],"lib",string("lib",a,".so")))
end
# ==============================
# Add this bit
if Compat.Sys.isapple()
push!(paths_to_try, joinpath(ENV["GUROBI_HOME"], "lib", string("lib", a, ".dylib")))
end
# ==============================
Then let us know if it works.
This solved it ! Thanks so much
Hi,
I have then same problem. Where did you run "export GUROBI_HOME=/Library/gurobi810/mac64" ?
I installed v8.1 and surely confirmed the license. However, Gurobi package v0.5.5 did not work well. Especially on the building step. I also set "export GUROBI_HOME=/Library/gurobi810/mac64"
if I use 8.0.1 then work well. Whats wrong with it?