ERROR: [...] is not satisfied, cannot generate deps.jl! when building after a Pkg.update()

I’m getting this kind of error on a couple of dependencies of a package (MAT.jl). I get an idea from the error that the requirements for the package aren’t fulfilled—but these packages weren’t updated recently. Can anyone point me into the direction of what I can do?

  Building CodecZlib → `~/.juliapro/JuliaPro_v1.2.0-2/packages/CodecZlib/5t9zO/deps/build.log`
┌ Error: Error building `CodecZlib`: 
│ ERROR: LoadError: LibraryProduct(nothing, ["libz"], :libz, "Prefix(/home/ahassan/.juliapro/JuliaPro_v1.2.0-2/packages/CodecZlib/5t9zO/deps/usr)") is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│  [1] error(::String) at ./error.jl:33
│  [2] #write_deps_file#171(::Bool, ::Bool, ::typeof(write_deps_file), ::String, ::Array{LibraryProduct,1}) at /home/buildbot/build-worker/worker/juliapro-release-centos7-0_6/build/tmp_julia/share/julia/stdlib/v1.2/BinaryProvider/src/Products.jl:419
│  [3] (::getfield(BinaryProvider, Symbol("#kw##write_deps_file")))(::NamedTuple{(:verbose,),Tuple{Bool}}, ::typeof(write_deps_file), ::String, ::Array{LibraryProduct,1}) at ./tuple.jl:0
│  [4] top-level scope at /home/ahassan/.juliapro/JuliaPro_v1.2.0-2/packages/CodecZlib/5t9zO/deps/build.jl:93
│  [5] include at ./boot.jl:328 [inlined]
│  [6] include_relative(::Module, ::String) at ./loading.jl:1094
│  [7] include(::Module, ::String) at ./Base.jl:31
│  [8] include(::String) at ./client.jl:431
│  [9] top-level scope at none:5
│ in expression starting at /home/ahassan/.juliapro/JuliaPro_v1.2.0-2/packages/CodecZlib/5t9zO/deps/build.jl:78
└ @ Pkg.Operations /home/buildbot/build-worker/worker/juliapro-release-centos7-0_6/build/tmp_julia/share/julia/stdlib/v1.2/Pkg/src/Operations.jl:1138