-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File "command line", line 1: Error: Unbound module Stdlib - OCaml version 4.11.1 #12854
Comments
Thank you for reporting the issue. The mingw ocaml package is full of workarounds. I am thinking of updating the package and upstream the necessary changes. If things go well I will provide some news here. |
It looks like It is something related to permissions. After changing the permission of
|
The issue seems to be related to path relocation. The workaround is to add the full ocaml standard library path with
The logic can be found in Is there any trick to add the variable when the package is installed (also undo it after uninstall) ? |
In my home directory i created a Bin folder with a bash script with |
Description
I have just installed msys2 ocaml packages :
mingw32/mingw-w64-i686-ocaml 4.11.1-2 [installed]
mingw32/mingw-w64-i686-ocaml-compiler-libs 4.11.1-2 [installed]
mingw64/mingw-w64-x86_64-ocaml 4.11.1-2 [installed]
mingw64/mingw-w64-x86_64-ocaml-compiler-libs 4.11.1-2 [installed]
when i try to run from mingw64 or mingw32 the ocaml command i get the following error:
$ ocaml
OCaml version 4.11.1
File "command line", line 1:
Error: Unbound module Stdlib
Verification
Windows Version
Microsoft Windows [Version 10.0.22000.856]
MINGW environments affected
Expected behavior
to run ocaml without error
Actual behavior
$ ocaml
OCaml version 4.11.1
File "command line", line 1:
Error: Unbound module Stdlib
Repro steps
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: