[LV2] Question about LV2 Filesystem Hierarchy Standard

David Robillard d at drobilla.net
Mon Mar 25 12:18:28 PDT 2019


On Wed, 2019-02-06 at 22:55 +0100, Andreas Müller wrote:
> Hi,
> 
> checked the email archive / google but did not find helpful - maybe
> this was discussed already.
> 
> LV2 Filesystem Hierarchy Standard [1] defines the system-wide install
> location $PREFIX/lib/lv2. Why?
> Background: I play around with 64/32 multilib Openembedded builds for
> my RaspberryPi 3. By default 64bit libs go into /usr/lib64 / 32bit ->
> /usr/lib. Following [1] would mean that 32/64bit  binaries would be
> installed at same place which at least causes trouble installing both
> variants.
> But installing both is exactly what I would like to do to see if
> there
> are significant differences in performance / memory consumption.
> 
> What background am I missing?

There is unfortunately just no universal standard for this (the alleged
MS-style standard of forever resigning PREFIX/lib to be 32-bit even on
64-bit native systems is - rightfully - rejected by a lot of
distributions).

That said, multiarch wasn't really considered much when this was
written.  It could perhaps be improved, but I don't think there is any
single right thing that could be said here.  Suggestions/patches
welcome...

As with anything, though, you can install to wherever and set LV2_PATH
to whatever is appropriate, so I don't think it's a huge deal.  Maybe
the page should be revised to not suggest that you *have* to use
exactly these paths in all cases?

-- 
dr




More information about the Devel mailing list