From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id F307FBC0A for ; Thu, 21 Jun 2007 16:50:12 +0200 (CEST) Received: from smtp.janestcapital.com (www.janestcapital.com [66.155.124.107]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l5LEoBk3000720 for ; Thu, 21 Jun 2007 16:50:12 +0200 Received: from [172.25.131.129] [38.96.172.125] by janestcapital.com (SMTPD-9.10) id A032021C; Thu, 21 Jun 2007 10:50:26 -0400 Message-ID: <467A9022.5000001@janestcapital.com> Date: Thu, 21 Jun 2007 10:50:10 -0400 From: Andrew Warshaver User-Agent: Thunderbird 2.0.0.0 (X11/20070505) MIME-Version: 1.0 To: Inria Ocaml Mailing List Subject: Re: [Caml-list] runtime woes -- cannot find dllunix.so References: <467A86C0.4020107@janestcapital.com> <20070621141350.GA3671@takhisis.invalid> In-Reply-To: <20070621141350.GA3671@takhisis.invalid> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IMAIL-SPAM-VALFROM: (90320087000056bf) X-IMAIL-SPAM-VALREVDNS: (90320087000056bf) X-Miltered: at concorde with ID 467A9023.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; runtime:01 dllunix:01 lib:01 ocaml:01 stublibs:01 config:01 makefile:01 ocaml:01 config:01 makefile:01 zacchiroli:01 dllunix:01 lib:01 029:98 029:98 Thanks for the help, Stefano. I actually just solved the problem a moment before I read your mail by adding /home/awarshaver/lib/ocaml/stublibs to my LD_LIBRARY_PATH. I'm not sure if -libdir would have done it for me, does that do anything except modify the config/Makefile? I think I had that set up ok, I just changed the first line to point into my home after I ran configure; [awarshaver@nyc-qws-029 ocaml]$ cat config/Makefile # generated by ./configure PREFIX=/home/awarshaver Thanks again, and happy oCaml-ing! Stefano Zacchiroli wrote: > On Thu, Jun 21, 2007 at 10:10:08AM -0400, Andrew Warshaver wrote: >> [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 > > Seems like you haven't passed -libdir /home/awarshaver/lib/ocaml to > ./configure before building. >