From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA00182; Mon, 22 Apr 2002 12:03:33 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id MAA00185 for ; Mon, 22 Apr 2002 12:03:33 +0200 (MET DST) Received: from gromit.it.su.se (gromit.it.su.se [130.237.95.77]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g3MA3WT16633 for ; Mon, 22 Apr 2002 12:03:32 +0200 (MET DST) Received: (from rnyberg@localhost) by gromit.it.su.se (8.11.6/8.11.6) id g3MA3W121566 for caml-list@inria.fr; Mon, 22 Apr 2002 12:03:32 +0200 (CEST) (envelope-from rnyberg) Date: Mon, 22 Apr 2002 12:03:31 +0200 From: Richard Nyberg To: OCAML Subject: Re: [Caml-list] shared libraries [pcre-ocaml] Message-ID: <20020422120331.C21430@gromit.it.su.se> Mail-Followup-To: Richard Nyberg , OCAML References: <20020422103046.B21430@gromit.it.su.se> <20020422094208.GA12805@kiefer.ai.univie.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020422094208.GA12805@kiefer.ai.univie.ac.at>; from markus@oefai.at on Mon, Apr 22, 2002 at 11:42:08am +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > It seems to me that you hadn't set the environment variable > "OCAML_LIB_INSTALL" to your installation directory before "make"ing the > library, i.e. it's default is "+contrib" now: No I didn't, and I cannot understand how I managed to miss it! I will rebuild it immediately. Thanks!!! > [snip] > > access("/usr/local/lib/ocaml/contrib/libpcre.so.0",0) ERR#2 'No such file or directory' > [snip] > > The path leading to this directory is added to the generated OCaml-library > so that it can find the shared C-library. Usually things should also work > when you set your LD_LIBRARY_PATH appropriately in your shell or even add > this path to your global /etc/ld.so.conf. However, the preferred solution > is surely to let the library now where to find things it depends on. Definitely :) -Richard ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners