# Specify \[compat\] for \_jll binary (Libtiff\_jll)

**URL:** https://discourse.julialang.org/t/specify-compat-for-jll-binary-libtiff-jll/100713
**Category:** General Usage
**Created:** [June 22, 2023, 7:57pm UTC](https://discourse.julialang.org/t/specify-compat-for-jll-binary-libtiff-jll/100713 "2023-06-22T19:57:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![disberd](https://avatars.discourse-cdn.com/v4/letter/d/8edcca/32.png) [@disberd](https://discourse.julialang.org/u/disberd)
#### Post date: [June 22, 2023, 7:57pm UTC](https://discourse.julialang.org/t/specify-compat-for-jll-binary-libtiff-jll/100713/1 "2023-06-22T19:57:26Z")

</div>

Hi,

I am having problem with the newly released version of Libtiff\_jll which apparently breaks PROJ\_jll.

I also filed an issue on Yggdrasil [Problems with Libtiff\_jllv4.5 and PROJ\_jll · Issue #6928 · JuliaPackaging/Yggdrasil · GitHub](https://github.com/JuliaPackaging/Yggdrasil/issues/6928), but it seems that from v4.5 `Libtiff_jll` does not provide a symbolink link for `libtiff.so.5` anymore, only `libtiff.so.6` and PROJ\_jll seems to be explicitly calling `libtiff.so.5` based on this error I get when trying to do `using PROJ_jll` with `Libtiff_jll` 4.5:

```julia
Proj [c94c279d-25a6-4763-9509-64d165bea63e]
Failed to precompile Proj [c94c279d-25a6-4763-9509-64d165bea63e] to "/root/.julia/compiled/v1.9/Proj/jl_wdU0cn".
ERROR: LoadError: InitError: could not load library "/root/.julia/artifacts/8a643038d2adde781829b4467a32afa307e23b51/lib/libproj.so"
libtiff.so.5: cannot open shared object file: No such file or directory

```

I tried explicitly adding Libtiff 4.4 on a dummy environment and PROJ\_jll loads correctly, so I thought I could just add `Libtiff_jll` as a direct dependency and then add  
`Libtiff_jll = "4.4"`  
inside my project [compat], but unfortunately that does not seem to work, the latest version is always installed.

Is there anyway to specify a compat for \_jll libraries in a normal project/package?

---

<div class="post-metadata">

### Author: ![disberd](https://avatars.discourse-cdn.com/v4/letter/d/8edcca/32.png) [@disberd](https://discourse.julialang.org/u/disberd)
#### Post date: [June 22, 2023, 8:06pm UTC](https://discourse.julialang.org/t/specify-compat-for-jll-binary-libtiff-jll/100713/2 "2023-06-22T20:06:56Z")

</div>

I got a very prompt reply on the issue and I was just remembering wrongly the `[compat]` synthax.

Using “~4.4” correctly blocks updates to v4.5
