Adding path to wrapper script
Sergio Schvezov
sergio.schvezov at canonical.com
Thu Jan 7 18:38:41 UTC 2016
On Thu, Jan 7, 2016 at 2:08 PM, Stefan Knorr <Stefan.Knorr at dewetron.com>
wrote:
> Hi,
>
>
> currently I am running in a problem with snapcraft and custom deb packages.
>
> By default, my custom packages install some libraries to '/opt/lib'. All
> libraries are put correctly into the snap file, but the service binary ist
> not working due to the hardcoded LD_LIBRARY_PATH to '/lib' and '/usr/lib'.
>
> Is there a way to extend this paths in the wrapper script from the
> snapcraft.yaml file?
>
> If not, will such a functionality be added?
>
There was an idea to make this declarative at one point but in the end it
was said that if you needed anything extra, it would be solved through a
wrapper script or any other mechanism within the project.
One other thing you can do is explore the organize keyword and shuffle your
libs in opt/... to /lib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20160107/e553f5ce/attachment.html>
More information about the snappy-app-devel
mailing list