jump-dev/GLPK.jl

Installation problems

baggepinnen opened this issue · 2 comments

I am having problems installing this package under Julia v1.4.1 and Ubuntu 18.04, the error is reproduced below. I do have libgmp installed

libgmp10/bionic,now 2:6.1.2+dfsg-2 amd64 [installed]
  Multiprecision arithmetic library

but it appears that it can not be found?

(@v1.4) pkg> add GLPK
   Updating registry at `~/.julia/registries/General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Resolving package versions...
   Updating `~/.julia/environments/v1.4/Project.toml`
  [60bf3e95] + GLPK v0.12.1
   Updating `~/.julia/environments/v1.4/Manifest.toml`
  [523fee87] + CodecBzip2 v0.7.1
  [944b1d66] + CodecZlib v0.7.0
  [60bf3e95] + GLPK v0.12.1
  [7d188eb4] + JSONSchema v0.2.0
  [b8f27783] + MathOptInterface v0.9.13
  [d8a4904e] + MutableArithmetics v0.2.9
  [3bb67fe8] + TranscodingStreams v0.9.5

(@v1.4) pkg> build GLPK
   Building GLPK  `~/.julia/packages/GLPK/HjJiX/deps/build.log`
┌ Error: Error building `GLPK`: 
│ ERROR: LoadError: LoadError: LibraryProduct(nothing, ["libgmp"], :libgmp, "Prefix(/home/fredrikb/.julia/packages/GLPK/HjJiX/deps/usr)") is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│  [1] error(::String) at ./error.jl:33

add GLPK#master does solve the problem. Time for a new release perhaps?

v0.13.0 has been released