Shared Objects

Seth Arnold seth.arnold at canonical.com
Fri Jun 12 22:54:40 UTC 2015


On Fri, Jun 12, 2015 at 10:18:02AM +0100, Matthew Williams 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?

The tmux ./configure --help output includes the following which looks like
it's purpose-made for the job:

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
...


Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20150612/de72817c/attachment.pgp>


More information about the snappy-app-devel mailing list