You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NAME="Common Base Linux Mariner"
VERSION="2.0.20230721"
But it fails with error message
ocamlbuild ......
+ /usr/bin/ocamlopt.opt ......
/usr/bin/ld: cannot open linker script file /usr/src/mariner/BUILD/module_info.ld: No such file or directory
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking (exit code 1)
After reviewing #1708 and #1824, I think this error is caused by LDFLAGS in ocaml spec.
I'm trying to build ocaml app under
But it fails with error message
After reviewing #1708 and #1824, I think this error is caused by
LDFLAGS
in ocaml spec.https://github.com/microsoft/CBL-Mariner/blob/73e50ecc3ff6adf0e47ddb68b3c88b6be14c76fd/SPECS/ocaml/ocaml.spec#L121-L121
Currently I can workaround this failure by generating
module_info.ld
using/usr/lib/rpm/mariner/gen-ld-script.sh
The text was updated successfully, but these errors were encountered: