This is the OCaml runtime linked with -fPIC. Without this you will see hundreds of link time errors like this: /usr/bin/ld: /usr/lib64/ocaml/libasmrun.a(startup_aux.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /usr/lib64/ocaml/libasmrun.a(startup.o): relocation R_X86_64_32S against symbol `caml_data_segments' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /usr/lib64/ocaml/libasmrun.a(fail.o): relocation R_X86_64_32 against symbol `caml_exn_Failure' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /usr/lib64/ocaml/libasmrun.a(roots.o): relocation R_X86_64_32 against symbol `caml_frametable' can not be used when making a shared object; recompile with -fPIC --- daemon/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/Makefile.am b/daemon/Makefile.am index af3184d3e..9d9e633c7 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -331,7 +331,7 @@ OBJECTS = $(BOBJECTS) CAMLRUN = camlrun else OBJECTS = $(XOBJECTS) -CAMLRUN = asmrun +CAMLRUN = asmrun_pic endif OCAML_LIBS = \ -lmlpcre \ -- 2.13.1