Shared Objects

Michael Terry michael.terry at canonical.com
Sun Jun 14 14:16:58 UTC 2015


You'll want to either statically link libevent or use a wrapper script for
tmux that has something like:

#!/bin/sh
export LD_LIBRARY_PATH=$SNAP_APP_PATH/lib:$LD_LIBRARY_PATH
exec $SNAP_APP_PATH/bin/tmux

-mt

On Fri, Jun 12, 2015 at 5:18 AM, Matthew Williams <
matthew.williams at canonical.com> wrote:

> So I've been experimenting with making a tmux snap  - because why not.
>
> It requires one library that isn't included with the standard image
> (libevent). I've included this in the snap and by running it from within
> the /apps/tmux.sideload/ directory and specifying LD_LIBRARY_PATH I can get
> it running. But obviously when running tmux.tmux it can't find the library.
> Is there something I should be specifying in the package.yaml or an app
> armour profile?
>
> Thanks
>
> Matty
>
> --
> snappy-app-devel mailing list
> snappy-app-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/snappy-app-devel
>
>


-- 
-mt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20150614/b63eedfc/attachment.html>


More information about the snappy-app-devel mailing list