Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Project Proposals
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Michal Moskal <malekith@p...>
Subject: Re: [Caml-list] OCaml packaging problems
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