[opam-devel] opam installs package but ocamlfind fails

Ashish Agarwal agarwal1975 at gmail.com
Sun Apr 7 20:13:24 BST 2013


Okay, so then something wrong happened because I'm on a different switch
than what is in this file. If I can reproduce the error, I'll submit a bug
report.

On Sun, Apr 7, 2013 at 3:10 PM, Thomas Gazagnaire <thomas at ocamlpro.com>wrote:

> > I don't see how this is possible. My variables.sh file is:
> >
> > $ cat variables.sh
> > CAML_LD_LIBRARY_PATH=/Users/ashish/.opam/4.00.1/lib/stublibs; export
> CAML_LD_LIBRARY_PATH;
> > OCAML_TOPLEVEL_PATH=/Users/ashish/.opam/4.00.1/lib/toplevel; export
> OCAML_TOPLEVEL_PATH;
> > MANPATH=/Users/ashish/.opam/4.00.1/man:$MANPATH; export MANPATH;
> > PATH=/Users/ashish/.opam/4.00.1/bin:$PATH; export PATH;
> >
> > All path variables have a specific switch hardcoded in. When I do `opam
> switch foo`, these paths will be wrong.
>
> This file is under the control of OPAM. Which means that when you do `opam
> switch foo` it will rewrite its contents to use the new compiler switch
> (you can try, switch and look at the file contents again).
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/opam-devel/attachments/20130407/401564c1/attachment.html>


More information about the opam-devel mailing list