Comments (3)
I had the same problem and narrowed it down to the following opam-related problem:
- ~/.opam/opam-init/init.sh is called in my .bashrc (which is fine)
- ~/.opam/opam-init/variables.sh sets the variable CAML_LD_LIBRARY_PATH
and here, CAML_LD_LIBRARY_PATH is set to both the currently selected compiler and to the stublibs provided by my ocaml system installation. If I clean this variable up, everything works fine.
from utop.
Try rebuilding utop and its dependencies, and check you configuration. This is not a utop problem, utop works fine with 4.01. This error is probably that ocamlrun can't find the shared object file (.so
, .dll
, ...). This is usually due to invalid environment variable settings.
from utop.
This is very strange. I have absolutely no idea how opam ended up in this state since I simply installed utop on an almost fresh switch. A remove/install fixed it (but not a reinstall).
from utop.
Related Issues (20)
- utop/init.ml does not respect XDG on Windows
- Difference between utop & ocaml w.r.t. double semicolumn HOT 4
- Completion broken when running utop from emacs HOT 3
- doom-emacs *utop* buffer
- dune utop in emacs is not working
- Feature request: automatically reload/recompile changed files in `dune utop`
- Cannot install using opam or paru HOT 3
- utop should't crash when the library you load has the same name as utop's dependencies HOT 1
- Consistent Formatting of UTop/Utop/utop
- OCaml 5.2 support HOT 1
- Freezing on cyclic type abbreviations HOT 2
- Emacs doesn't automatically open .ocamlinit in utop HOT 1
- Inform users `utop` is missing on M-x utop
- type aliases weird behavior HOT 2
- Utop setting Sys.interactive to false when running script
- History silently not saved between sessions if parent directory of history file doesn't exist
- Colors not loaded from `~/.config/utop/utoprc`
- Unable to get `#edit_mode_vi` to work HOT 3
- `#thread;;` does not always work
- A possible workaround for supporting camlp5 on UTop
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from utop.