[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ocaml-flac cannot find -lflac



Hi,

I am running into the following error trying to build ocaml-flac from the new upstream version, which has moved the build to use Dune:

dune build ocamlmklib src/dllflac_ogg_stubs.so,src/libflac_ogg_stubs.a (exit 2) (cd _build/default && /usr/bin/ocamlmklib.opt -g -o src/flac_ogg_stubs src/flac_ogg_stubs.o -logg -lflac) /usr/bin/ld: cannot find -lflac
collect2: error: ld returned 1 exit status
  ocamlmklib src/dllflac_stubs.so,src/libflac_stubs.a (exit 2)
(cd _build/default && /usr/bin/ocamlmklib.opt -g -o src/flac_stubs src/flac_stubs.o -lflac)
/usr/bin/ld: cannot find -lflac
collect2: error: ld returned 1 exit status
make[1]: *** [debian/rules:11: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Has anyone encountered anything similar, or is this an upstream issue? I have included libflac-dev as a build-dep. The current work-in-progress is on salsa [1].

[1] https://salsa.debian.org/ocaml-team/ocaml-flac

Thanks
Kyle
--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Kyle Robbertze
⢿⡄⠘⠷⠚⠋⠀ Debian Developer
⠈⠳⣄⠀⠀⠀⠀ https://wiki.debian.org/KyleRobbertze


Reply to: