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

PrevNext  Index
DateSat, 14 Jul 2018 14:15:44 -0500
From Chris Caudle <[hidden] at chriscaudle dot org>
To[hidden] at lists dot jackaudio dot org
In-Reply-ToDavid Kastrup Re: [Jack-Devel] How to profile jack cpu load?
On Sat, July 14, 2018 1:57 pm, David Kastrup wrote:
> "Chris Caudle" <[hidden]> writes:
>> How do you make sure the one in
>> usr is not used?
>
> Putting /usr/local/bin first in PATH ?

The PATH environment variable only controls where you search for
executables, not shared libraries.
https://unix.stackexchange.com/questions/22926/where-do-executables-look-for-shared-objects-at-runtime
https://unix.stackexchange.com/questions/171632/where-will-the-system-search-for-dynamic-libraries
https://en.wikipedia.org/wiki/Rpath
http://man7.org/linux/man-pages/man8/ld.so.8.html

Notice in the ld man page that executables can have a search path in the
ELF header.  The executables DT_RUNPATH value comes before the
LD_LIBRARY_PATH environment variable in the search order.

Seems like there are several ways that loading the newly compiled version
could go wrong if the older files are still present.

-- 
Chris Caudle
PrevNext  Index

1531595777.19249_0.ltw:2, <5cd7fa21fabaf91717f01de765495928.squirrel at email dot powweb dot com>