testsuite picks up the wrong ocamlrun dlls #6046
Original bug ID: 6046
I have 3.12.1 installed as my system ocaml compiler, and then a checkout of the 4.01 branch of ocaml.
The bigarray tests fail:
If I apply the patch below to set CAML_LD_LIBRARY_PATH instead of LD_LIBRARY_PATH, then the latest dllbigarray.so is picked up, and the test passes.
diff --git a/testsuite/makefiles/Makefile.common b/testsuite/makefiles/Makefile.common
The variables above may be overridden by .../config/Makefile
OTOPDIR is either TOPDIR or WINTOPDIR, whichever is appropriate for
~/src/git/ocaml/ocaml/testsuite$ make one DIR=tests/lib-bigarray 2>&1|more
This is because the system ocaml has a /usr/lib/ocaml/stublibs in its ld.conf, which has a higher precedence than LD_LIBRARY_PATH (but not CAML_LD_LIBRARY_PATH).
Steps to reproduce
have 3.12.1 system compiler installed
$ cd testsuite
The text was updated successfully, but these errors were encountered: