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

[Xen-devel] Re: [PATCH] libxenstore should be executable

On Wed, 05 Jul 2006 14:36:29 -0400, Jeremy Katz wrote:
> [-- text/plain, encoding 7bit, charset: ISO-8859-1, 20 lines --]
> On Tue, 2006-07-04 at 11:57 +0200, Vincent Hanquez wrote:
>> On Mon, Jul 03, 2006 at 11:28:03PM -0400, Jeremy Katz wrote:
>> > Shared libraries are supposed to be installed +x
>> I don't think that needed (almost all libraries in my /usr/lib are -x).
>> Even then you shouldn't call INSTALL_**PROG** but just create an
>> INSTALL_LIB or somethign similar..
> Shared libs have traditionally been installed as executables due to some
> long ago accidents of implementation in historical Unixes.  And there
> are various tools which "expect" it (... and this is why they get
> created as executable by default by ld).  
> Switching to INSTALL_LIB here although I think the whole "define all the
> ways you're going to use install" in this makefile a _smidge_ overkill
> Signed-off-by: Jeremy Katz <katzj@xxxxxxxxxx>

I think that this patch is corret (well, perhaps execpt for the _smidge_ bit).
I believe that it is general practice for make install and the like to
install shared libraries as executables for the reason that you give
above. Though it is common practice for distros to remove the executable
bit as part of their packaging process - which explains why many
people won't see it when they go and check /usr/lib, but is of little
concern to this patch.

Acked: Horms <horms@xxxxxxxxxxxx>

  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.