caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Andrew Warshaver <awarshaver@janestcapital.com>
To: lista OCaml <caml-list@inria.fr>
Subject: runtime woes -- cannot find dllunix.so
Date: Thu, 21 Jun 2007 10:10:08 -0400	[thread overview]
Message-ID: <467A86C0.4020107@janestcapital.com> (raw)

Hi all,

I have recently installed ocaml 3.10, but the executables are not all 
working.  Some work (ocaml, ocamldep) but most don't (ocamlbuild, 
ocamlbrowser, ocamldoc).  What happens when I try to run these is:

[awarshaver@nyc-qws-029 bin]$ ocamlbuild
Fatal error: cannot load shared library dllunix
Reason: dllunix.so: cannot open shared object file: No such file or 
directory

I have done make world, make opt, and make install, after setting my 
config/Makefile to point into my home directory.  This file defenitely 
exists,

[awarshaver@nyc-qws-029 ocaml]$ ls 
/home/awarshaver/lib/ocaml/stublibs/dllunix.so
/home/awarshaver/lib/ocaml/stublibs/dllunix.so

so I'm not sure what is wrong.  I thought it might be an environment 
variable, but changing OCAMLPATH to various guesses did not seem to 
help.  By default, it (and OCAMLFIND_DESTDIR) seem to be set to 
something dubious (this directory does not even exist).

[awarshaver@nyc-qws-029 ocaml]$ echo $OCAMLPATH
/home/awarshaver/lib/ocaml-site-lib

I am really anxious to play around with the new ocamlbuild tool, so  if 
you think you know why this isn't working please let me know!

Sincerely,
Andrew


             reply	other threads:[~2007-06-21 14:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-21 14:10 Andrew Warshaver [this message]
2007-06-21 14:13 ` [Caml-list] " Stefano Zacchiroli
2007-06-21 14:50   ` Andrew Warshaver
2007-06-21 16:12     ` Stefano Zacchiroli
2007-06-21 20:23     ` Jon Harrop
2007-06-21 14:19 Andrew Warshaver

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=467A86C0.4020107@janestcapital.com \
    --to=awarshaver@janestcapital.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).