Open feihong opened 6 years ago
You wouldn't happen to have a global version of ocaml installed by any chance?
Asking because idk why it'd be using a global path like /usr/local/lib/ocaml/stublibs/dllunix.so
Ah, yes, that was the problem. I wasn't using ocaml so I just uninstalled it and the build succeeds. Is this a common problem that people are running into? If so then it might be nice to put a note about it in the README. If not, then I'll just close this issue.
No this isn't suppose to happen. I'll fix this bug when I come back home. Thanks for finding it.
I ran into this as well on Ubuntu Linux. I didn't have to uninstall OCaml, however, to fix it; I only had to switch the installed OCaml compiler to the BuckleScript fork.
Can confirm this is still an issue. Running linux mint. It worked after uninstalling opam/ocaml and also removing the hidden ~/.opam directory.
@Nixonite @hanjiexi Could you guys re-try now. We published a new version of bsb-native (4.0.1100) which should fix this.
Here's the output I see in my terminal: