[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FHS ambiguity: /usr/lib or /usr/share?



On Mon, Nov 18, 2002 at 11:00:21AM +0200, Dmitry Borodaenko wrote:
> On Sun, Nov 17, 2002 at 05:10:13AM +0000, Andrew Suffield wrote:
>  SL>>> I imagine python stores everything in /usr/lib, again as a
>  SL>>> practical concession to the fact that upstream installation
>  SL>>> directories don't make it easy to use separate paths for
>  SL>>> arch-independent and arch-dependent objects.
>  DB>> Doesn't apply to Ruby.
>  AS> "Ruby sucks". Ignore it. Arch-indep to share, arch-dep to lib,
>  AS> screw everything else.
> 
> That didn't convince me, neither in "Ruby sucks" part (all my packages
> in Debian except Alicq are Ruby libraries :), nor in "arch-indep to
> share" part: aside from common sense "lib is for libraries", in another
> sub-thread it was already mentioned that even interpreted libraries are
> not always "arch-indep".

But then, there are some that are.

Ocaml bytecode, for example, runs fine on all arches, i even compile the
packages with arch: all, but the stuff is still in /usr/lib/ocaml,
mainly because the ocaml compiler/runtime suite does not easily know how
to handle more than one directory.

That said, it could well go into /usr/share/ocaml.

Finally, i don't know, but are they all that much people really using
/usr/share shared between different arches ? Does dpkg/apt even allow
this to work without breaking all kind of things ?

Friendly,

Sven Luther



Reply to: