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 RAA23260; Tue, 14 May 2002 17:33:39 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA23255 for caml-list@pauillac.inria.fr; Tue, 14 May 2002 17:33:38 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA19680 for ; Tue, 14 May 2002 15:49:04 +0200 (MET DST) Received: from ep09.kernel.pl (ep09.kernel.pl [212.87.11.162]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g4EDn4n11748 for ; Tue, 14 May 2002 15:49:04 +0200 (MET DST) Received: (qmail 12258 invoked by uid 566); 14 May 2002 13:49:02 -0000 Date: Tue, 14 May 2002 15:49:02 +0200 From: Michal Moskal To: caml-list@inria.fr Subject: Re: [Caml-list] OCaml packaging problems Message-ID: <20020514134902.GA4521@ep09.kernel.pl> References: <20020430111657.A18782@pauillac.inria.fr> <20020430200405.A16880@dpt-info.u-strasbg.fr> <20020514105452.B11894@pauillac.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020514105452.B11894@pauillac.inria.fr> User-Agent: Mutt/1.3.28i X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, May 14, 2002 at 10:54:52AM +0200, Xavier Leroy wrote: > So, to summarize, I strongly suggest the following approach for RPMs > or Debian packages: > - The main Caml package can add one or two lines to ld.conf, > e.g. /var/lib/ocaml/shlibs (for libraries installed by other packages) > and /usr/local/lib/ocaml/shlibs (for local stuff) > - Packages for additional Caml libraries install their shared libraries > in /var/lib/ocaml/shlibs, either directly or via a symlink. Hmm.. when perparing rpms with OCaml packages for PLD Linux I first created /usr/lib/ocaml/dlls and put dll*.so from all packages (including main OCaml package) there directly. However it caused problems with ocamlmktop (IIRC, ocamlc worked fine), so I ended up with dllfoo*.so in /usr/lib/ocaml/foo and symlinks in /usr/lib/ocaml (and just /usr/lib/ocaml in ld.conf). AFAIK /var/lib/ocaml isn't good place for installation on any binary stuff. /usr/lib/ocaml should be used, as it can be read only. /var is for data that programs change. There is nothing to change in dynamic library after it is installed. Please reffer to FHS for details. -- : Michal Moskal :::::::: malekith/at/pld.org.pl : GCS {C,UL}++++$ a? !tv : PLD Linux ::::::: Wroclaw University, CS Dept : {E-,w}-- {b++,e}>+++ h ------------------- 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