<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.8.5">
</HEAD>
<BODY>
On Mon, 2015-06-15 at 14:03 +0200, Zygmunt Krynicki wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
As an example, to get lxml (pip installable) working you need to
bundle a few extra libraries that are _not_ handled by anything on the
python side (no tool automates this). I build a smap with plainbox
manually by using rpath to show each of the .so files that python
loads where to load remaining libraries from. It would be very
beneficial if LD_LIBRARY_PATH was defined by snappy launcher so that
rpath is not required.
</PRE>
</BLOCKQUOTE>
<BR>
I don't think that the launcher can really set that, as we don't know exactly what it would be for the particular package. Otherwise we start to put in magical directory layout things for snaps, which make them harder to build.<BR>
<BR>
An idea that has been bouncing around is to provide a global environment setup script for executing in a snap that perhaps could be used for something like this. You can imagine for instance that the LD_LIBRARY_PATH could change depending on architecture for a multi-arch snap.<BR>
<BR>
Ted
</BODY>
</HTML>