Re: [Jack-Devel] How to profile jack cpu load?

PrevNext  Index
DateSat, 14 Jul 2018 15:40:27 -0400
From Tim <[hidden] at rogers dot com>
To[hidden] at lists dot jackaudio dot org
In-Reply-ToChris Caudle Re: [Jack-Devel] How to profile jack cpu load?
Follow-UpHarry van Haaren Re: [Jack-Devel] How to profile jack cpu load?
On 07/14/2018 03:28 PM, Chris Caudle wrote:
> On Sat, July 14, 2018 2:21 pm, Tim wrote:
>> All user-built software is usually installed in /usr/local.
>> Most systems automatically look in /usr/local/bin FIRST
>>    before /usr/bin when you type an un-pathed program name
> 
> I still don't follow how the applications (e.g. Ardour) get the correct
> version of libjack.so loaded, /usr/local isn't even in the default ld
> search path.

Ah, terribly sorry, yes, some distros don't include that path.
Others do. And they /should/.

Assuming that is done, when you build and install software the
  installer usually is supposed to automatically run ldconfig
  which automatically switches over to the newly installed libraries.

To go back to the packaged version you MUST uninstall your
  built version.

>  Putting a locally compiled version of jackd into
> /usr/local/bin seems like a recipe for loading a new jackd executable
> while having the jack-aware applications load the libjack.so that is found
> in /usr/lib64/.  Am I missing something about how the shared libraries get
> loaded?

Correct, that would happen if /usr/local was NOT in ldconfig's
  search path.
That's why it really should be in the path if users are to build
  their own software.

Tim.
PrevNext  Index

1531597256.20875_0.ltw:2, <c8501a48-610e-fa03-e423-f85687ac8484 at rogers dot com>