[csw-maintainers] [POLICY] Shared library placement proposal

Maciej Bliziński maciej at opencsw.org
Tue Feb 8 08:37:37 CET 2011


2011/2/8 Philip Brown <phil at bolthole.com>:
> On 2/7/11, Maciej Bliziński <maciej at opencsw.org> wrote:
>>
>> I've updated the wiki page, adding a reference to RFC 2119.  I've also
>> added the suggestion that --prefix can be used together with --libdir.
>>
>
> Arrrg.
> Maciej, you are still using language that essentially "requires"
> moving the real libraries into /opt/csw/lib.
>
> You now know that at least two maintainers, strongly object to this.
> So please stop it.
>
> Specifically:
>
> "Shared library files need to be moved from /opt/csw/foo/lib to /opt/csw/lib."
>
> key word here is "moved", along with "need to be".

Right.  This part of the document concerns not so much about what to
do, but rather how and/or when to do it.  Here's the updated version:

++ Implementation details

If a piece of software is compiled with the /opt/csw prefix, public
shared libraries are usually already at the right place.  If there are
any private libraries in /opt/csw/lib, they can be moved to a
subdirectory after the "make install" step.

Software compiled with a nonstandard prefix may need post-install
modifications.  If there are public shared library files in
/opt/csw/foo/lib, they can be moved to /opt/csw/lib after the "make
install" step.  An alternate approach is to pass @@--prefix=/opt/csw@@
and @@--libdir=/opt/csw/lib@@ to the configure script.


More information about the maintainers mailing list