<div dir="ltr"><div><div><div><div><div><div><div><div><div>On Sat, Jul 14, 2018 at 8:40 PM Tim <<a href="mailto:termtech@rogers.com">termtech@rogers.com</a>> wrote:<br>> On 07/14/2018 03:28 PM, Chris Caudle wrote:<br>> > On Sat, July 14, 2018 2:21 pm, Tim wrote:<br>> >> All user-built software is usually installed in /usr/local.<br>> >> Most systems automatically look in /usr/local/bin FIRST<br>> >>    before /usr/bin when you type an un-pathed program name<br>> ><br>> > I still don't follow how the applications (e.g. Ardour) get the correct<br>> > version of libjack.so loaded, /usr/local isn't even in the default ld<br>> > search path.<br>><br>> Ah, terribly sorry, yes, some distros don't include that path.<br>> Others do. And they /should/.<br><br></div>Not that I think this is a good idea - but for completeness it is possible<br></div>to just compile JACK 1 or 2 locally (aka, no install to /usr/ or /usr/local)<br></div>and then us LD_PRELOAD to have the linker load the required .so's before<br></div>starting JACK.<br><br>This ain't pretty, but if there's no JACK .so's in LD_LIBRARY_PATH at all,<br></div>and you *must* manually specify them all the time, at least its human error<br></div>if things go wrong.<br><br></div>Re-hash; this is a "solution" that I don't really recommend in this case,<br></div>however LD_PRELOAD can be quiet useful in other situations (like the<br>magic of JACK Interposer : <a href="https://github.com/raboof/jack_interposer">https://github.com/raboof/jack_interposer</a> : )<br>hence my promoting it here.<br></div><div><div><div><div><div><div><div><div><div><div><div><br></div><div><snip lots of conversation><br><br></div><div>Regards, -Harry<br></div><div><br>--<br><br><a href="http://www.openavproductions.com">http://www.openavproductions.com</a></div></div></div></div></div></div></div></div></div></div></div></div>