<div dir="ltr">On most systems, I get:<br><br>$ opam config list | grep base-unix<br>base-unix:installed                      true<br>base-unix:enable                         enable<br><br><br>But on Debian, I'm getting:<br>

<br><div>$ opam config list | grep base-unix<br>(* no output *)</div><div><br></div><div><br></div><div>However, it seems the Unix library is installed:</div><br>$ ocaml<br><br>        OCaml version 4.01.0<br><br># #load "unix.cma";;<br>

# Unix.getenv;;<br>- : string -> string = <fun><div><br></div><div><br></div><div>But opam seems not to have it in its list:</div><br>$ opam list<br>No packages found.<div><br></div><div><br></div><div>Also, this happens:</div>

<div><br></div>$ opam switch<br>4.01.0  C 4.01.0       Official 4.01.0 release<div><br></div>$ opam switch 4.01.0<br>[WARNING] Some of the compiler base packages are not installed. You should run:<br><br>    $ opam install base-threads base-bigarray base-unix<div>

<br></div><div>Odd, but okay, I try it:</div><div><br></div><div>$ opam install base-threads base-bigarray base-unix<br></div>The following actions will be performed:<br> - install   base-threads.base<br> - install   base-bigarray.base<br>

 - install   base-unix.base<br><br>=== 3 to install ===<br><br>=-=-=-=-=-=-=-=-=-=-=-=- Synchronizing package archives -=-=-=-=-=-=-=-=-=-=-=-=<br><br>=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Installing packages -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<br>

Installing base-bigarray.base.<br>Installing base-threads.base.<br>Installing base-unix.base.<div><br></div><div>Now opam does list the packages:</div>$ opam list<br>Installed packages for 4.01.0:<br>base-bigarray  base  Bigarray library distributed with the OCaml compiler<br>

base-threads   base  Threads library distributed with the OCaml compiler<br>base-unix      base  Unix library distributed with the OCaml compiler<div><br></div>But the config variables still don't get fixed:<br><br>$ opam config list | grep base-unix<br>

(* no output *)<div><br></div><div>This of course leads to other problems, such as lwt.unix doesn't get installed.</div><div><br></div></div>