Thanks for reporting this. It looks like some issue with the default
compilation flags. Do you need camlimages for your script? We always
recommend minimizing the optional dependencies that you need to prevent
unwanted issues they might bring that you also wouldn't need :-)

Le ven. 12 janv. 2024 à 19:54, Aleksas Tunikas <m...@aleksas.ru> a écrit :

> Hello fellow radio lovers,
>
> Having problem for a month updating my Liquid on Arch with OPAM, it
> gives the error with ocamlimages package which sounds like the
> following, dunno if it related to this dune thing, does anybody have any
> problems like that too?
>
> ### output ###
> File "png/dune", line 1, characters 0-332:       7)
> # [...]
> #  3 |  (public_name camlimages.png)
> # ....
> # 12 |      (:include ../config/png_c_flags.sexp)))
> # 13 |  (c_library_flags
> # 14 |   (:include ../config/png_c_library_flags.sexp)))
> # (cd _build/default && /home/parakovsky/.opam/default/bin/ocamlmklib.opt
> -g -o png/camlimages_png_stubs png/pngwrite.o png/pngread.o -ldopt -lpng16)
> # /usr/bin/ld: png/pngread.o: warning: relocation against
> `caml_atom_table' in read-only section `.text'
> # /usr/bin/ld: png/pngwrite.o: relocation R_X86_64_PC32 against undefined
> symbol `Caml_state' can not be used when making a shared object; recompile
> with -fPIC
> # /usr/bin/ld: final link failed: bad value
> # collect2: error: ld returned 1 exit status
>                                              [...])
>
>
>
> <><> Error report
> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
> ┌─ The following actions failed
> │ λ build camlimages 5.0.5
> └─
>
> --
> Aleksas Tunikas
> http://www.schopenhauer.fm
>
>
> _______________________________________________
> Savonet-users mailing list
> Savonet-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to