On 11/06/2026 05:17, Stéphane Glondu wrote:
Le 04/06/2026 à 12:40, Kyle Robbertze a écrit :
There might be two issues here:
1. libffmpeg-ocaml apparantly has stricter FFmpeg dependencies than the
shlibs-generated ones due to depending on additional ABI details (why?).
2. liquidsoap does not have a dependency on libffmpeg-ocaml-<ABI>.
There is an upstream release that fixes the actual build failure that
I have staged in git. However, I'm still unsure why dh-ocaml isn't
picking up the ffmpeg dependency and adding it in as I would expect.
All my investigation seems to point to ffmpeg support being included
in the build, and so the dev dependency is correctly found by dune's
build process. It then doesn't seem to make it into dh_ocaml's output
variables.
If anyone has any insight into why dh_ocaml isn't doing what I expect,
that would be most appreciated.
I suspect libffmpeg-ocaml is (statically) linked into the liquidsoap
executable, and not referenced by the libraries installed by the
liquidsoap binary package.
Yes, that appears to be what is happening - ffmpeg forms part of the
liquidsoap core that produces /usr/bin/liquidsoap and not any additional
ocaml libraries. Is there a way to get dune to link to the shared
library instead of statically linking to ocaml-ffmpeg?
Cheers
Kyle