Problem with `integers` and `-lintegers`

#1

I recently meet this problem:

 /home/akochkov/.opam/default/bin/ocamlfind ocamlopt -g -linkpkg -package ctypes.stubs -I src src/zstd_stubs.cmx src/zstd_gen.cmx -o src/zstd_gen.native
/usr/bin/ld: cannot find -lintegers
collect2: error:ld returned 1 exit status.
File "caml_startup", line 1:
Error: Error during linking

I met it during compiling zstd library a month ago, but recently also see the same on some internal libraries too.
See opam-repository zstd bug.
What can I do to avoid this, at least temporarily?

I believe it started in integers-0.3.0 release: https://github.com/ocamllabs/ocaml-integers/releases/tag/0.3.0

0 Likes

#2

I solved it with downgrading integers:

opam pin integers 0.2.2
0 Likes