wrapper scripts

Michael Zanetti michael.zanetti at canonical.com
Thu Aug 20 09:24:43 UTC 2015


Hi

On 19.08.2015 17:23, Loïc Minier wrote:
> 
> 
> On Tue, Aug 18, 2015 at 10:37 PM, Seth Arnold <seth.arnold at canonical.com
> <mailto:seth.arnold at canonical.com>> wrote:
> 
>     ld-linux.so.2 will use directories in DT_RUNPATH dynamic section
>     attribute, which support several variables, $ORIGIN and $PLATFORM look
>     most useful. See ld.so(8) for details. This might avoid the need for
>     wrappers entirely.
> 
> 
> Good points; I had proposed using chrpath in a previous discussion, but
> had totally forgotten about $ORIGIN.
> 
> We probably still need the wrappers to find the right binary for this or
> that architecture though.

Again, with click there's no need for those at all any more. It sets up
the environment in a way that it picks the right lib/<arch-triplet>/bin/
folder. Unless there's some other problem with this that I'm not aware
of, I think (from an app dev POV) this has been an elegant solution.

Cheers,
Michael

>  
> 
> 
>     Thanks
> 
>     --
>     snappy-app-devel mailing list
>     snappy-app-devel at lists.ubuntu.com
>     <mailto:snappy-app-devel at lists.ubuntu.com>
>     Modify settings or unsubscribe at:
>     https://lists.ubuntu.com/mailman/listinfo/snappy-app-devel
> 
> 
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 246 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20150820/30b381d5/attachment.pgp>


More information about the snappy-app-devel mailing list