<p dir="ltr">Works perfectly, thanks! </p>
<p dir="ltr">M.</p>
<div class="gmail_quote">16.05.2016 2:22 PM "Paul Davis" <<a href="mailto:paul@linuxaudiosystems.com">paul@linuxaudiosystems.com</a>> napisaƂ(a):<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">David's suggestion is also preferred since you'd need to set rpath (which is generally discouraged on most versions of Linux) for *every* JACK client. And then recompile if you ever wanted to move the location.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 16, 2016 at 8:20 AM, David <span dir="ltr"><<a href="mailto:dplist@free.fr" target="_blank">dplist@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Mon, 16 May 2016 14:07:02 +0200<br>
"<a href="mailto:marcin@saepia.net" target="_blank">marcin@saepia.net</a>" <<a href="mailto:marcin@saepia.net" target="_blank">marcin@saepia.net</a>> wrote:<br>
<br>
> I need to make custom build of JACK that will reside in /opt/myjack<br>
><br>
> Now I have to use LD_LIBRARY_PATH because without one I get errors<br>
> like this<br>
><br>
> /opt/myjack/bin/jack_lsp: error while loading shared libraries:<br>
> libjack.so.0: cannot open shared object file: No such file or<br>
> directory<br>
><br>
> I would like to use -rpath linker flag, but I found no clean way to<br>
> use it. I tried to set LDFLAGS and other env vars but waf keeps<br>
> ignoring it.<br>
><br>
> Any advice?<br>
<br>
</span>Add /opt/myjack/lib to /etc/ld.so.conf or<br>
create a dedicated config file, e.g /etc/ld.so.conf.d/myjack.conf,<br>
with /opt/myjack/lib in it. And then run ldconfig, as root.<br>
<br>
This should give system-wide access to the libs you installed<br>
in /opt/myjack/lib.<br>
<br>
HTH<br>
<span><font color="#888888"><br>
-- David<br>
_______________________________________________<br>
Jack-Devel mailing list<br>
<a href="mailto:Jack-Devel@lists.jackaudio.org" target="_blank">Jack-Devel@lists.jackaudio.org</a><br>
<a href="http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org" rel="noreferrer" target="_blank">http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org</a><br>
</font></span></blockquote></div><br></div>
</blockquote></div>