Thanks Rich,

Setting the OCAMLPATH and redoing the configure, make and make install seemed to work. 

I installed opam after I couldn't get hivex to install initially, was hoping that hivex was a package managed by opam I guess.

Chris

On 7 August 2017 at 08:54, Richard W.M. Jones <rjones@redhat.com> wrote:
On Mon, Aug 07, 2017 at 08:10:55AM -0500, Chris McIntosh wrote:
> Hey Thanks Rich.
>
> > What distro?
> Solus
>
> > Are the OCaml bindings for hivex actually installed?
> I don't think so at this point, though make install runs this command:
>
> ocamlfind install \
>  -ldconf ignore -destdir /home/chris/.opam/4.05.0/lib/ocaml \
>  hivex \
>  META *.so *.a *.cma *.cmi ./*.mli *.cmx *.cmxa

Oh I see you're using opam to install locally.

I think you'll need to set up an environment variable before running
./configure.  I'm not much of an opam user myself, but it's probably:

  export OCAMLPATH=/home/chris/.opam/4.05.0/lib/ocaml

or maybe:

  export OCAMLPATH=/home/chris/.opam/4.05.0/lib/ocaml:/usr/lib/ocaml

or similar.

You might also want to check /etc/ocamlfind.conf and the opam
documentation.

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org