# BinaryProvider can install a package with Julia 0.7 but not with 0.6

**URL:** <https://discourse.julialang.org/t/binaryprovider-can-install-a-package-with-julia-0-7-but-not-with-0-6/12725>\
**Category:** General Usage\
**Created:** [July 29, 2018, 9:48pm UTC](https://discourse.julialang.org/t/binaryprovider-can-install-a-package-with-julia-0-7-but-not-with-0-6/12725 "2018-07-29T21:48:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [July 29, 2018, 9:48pm UTC](https://discourse.julialang.org/t/binaryprovider-can-install-a-package-with-julia-0-7-but-not-with-0-6/12725/1 "2018-07-29T21:48:28Z")

</div>

I’m trying to switch [a package](https://github.com/JuliaAstro/WCS.jl) to `BinaryBuilder.jl`. It works fine on most systems (at least, those that I can test with Travis), but I’m facing some difficulties with the Windows build: the library is successfully installed in Julia 0.7, but fails with Julia 0.6 with the following error:

```julia
LoadError: BinaryProvider.LibraryProduct(nothing, String["libwcs"], :libwcs, "Prefix(C:\\Users\\appveyor\\.julia\\v0.6\\WCS\\deps\\usr)") is not satisfied, cannot generate deps.jl!
while loading C:\Users\appveyor\.julia\v0.6\WCS\deps\build.jl, in expression starting on line 46

```

Here are some information:

- the script used to build the library: [https://github.com/JuliaAstro/WCSLIBBuilder/blob/43b1ad73e51c45fb9975c0147c15ecef1011c815/build\_tarballs.jl](https://github.com/JuliaAstro/WCSLIBBuilder/blob/43b1ad73e51c45fb9975c0147c15ecef1011c815/build_tarballs.jl)
- the tag where the built packages are stored: [https://github.com/JuliaAstro/WCSLIBBuilder/releases/tag/v5.13a](https://github.com/JuliaAstro/WCSLIBBuilder/releases/tag/v5.13a)
- the `build.jl` script in the Julia wrapper: [https://github.com/giordano/WCS.jl/blob/b570c9004682ff6fd71bb1f0728416091cf3f7ca/deps/build.jl](https://github.com/giordano/WCS.jl/blob/b570c9004682ff6fd71bb1f0728416091cf3f7ca/deps/build.jl)
- AppVeyor: [AppVeyor](https://ci.appveyor.com/project/giordano/wcs-jl/build/1.0.6)
  - Failure to install the library with Julia 0.6: [AppVeyor](https://ci.appveyor.com/project/giordano/wcs-jl/build/1.0.6/job/em7v7em5ug5rmnxq)
  - Success with Julia 0.7: [AppVeyor](https://ci.appveyor.com/project/giordano/wcs-jl/build/1.0.6/job/4mavkajcido8kpbg)

Has anyone a clue about why Julia 0.6 fails to install the library on Windows? Am I doing something wrong, maybe in the build script?
