On 23/10/18 11:02 PM, Arnaldo Carvalho de Melo wrote: > Em Tue, Oct 23, 2018 at 07:57:17PM +0000, Hunter, Adrian escreveu: >>> -----Original Message----- >>> From: Arnaldo Carvalho de Melo [mailto:a...@kernel.org] >>> Sent: Tuesday, October 23, 2018 10:30 PM >>> To: Hunter, Adrian <adrian.hun...@intel.com> >>> Cc: Jiri Olsa <jo...@redhat.com>; Andi Kleen <a...@linux.intel.com>; linux- >>> ker...@vger.kernel.org >>> Subject: Re: [PATCH V2 17/19] perf scripts python: exported-sql-viewer.py: >>> Add All branches report >>> >>> Em Tue, Oct 23, 2018 at 06:41:17PM +0000, Hunter, Adrian escreveu: >>>>> -----Original Message----- >>>>> From: Arnaldo Carvalho de Melo [mailto:a...@kernel.org] >>>>> So, I followed the instructions then ended up with: >>>>> >>>>> [acme@seventh perf]$ find /usr/local -name "*xed*" | head >>>>> /usr/local/lib/libxed.so /usr/local/lib/libxed.a >>>>> /usr/local/lib/libxed-ild.so /usr/local/lib/libxed-ild.a >>>>> /usr/local/include/xed /usr/local/include/xed/xed- syntax-enum.h >>>>> /usr/local/include/xed/xed-attributes.h >>>>> /usr/local/include/xed/xed-build-defines.h >>>>> /usr/local/include/xed/xed-cpuid-rec.h >>>>> /usr/local/include/xed/xed-flags.h >>>>> [acme@seventh perf]$ >>>>> >>>>> Ran ldconfig as root, etc: >>>>> >>>>> [acme@seventh perf]$ ldconfig -v -N | grep xed >> >> What about: >> ldconfig -p | grep xed > > $ ldconfig -p | grep xed > $ echo $LD_LIBRARY_PATH > /usr/local/lib > $ ls -la /usr/local/lib/libxed*so > -r--r--r--. 1 root root 132840 Oct 23 14:52 /usr/local/lib/libxed-ild.so > -r--r--r--. 2 root root 6842688 Oct 23 14:52 /usr/local/lib/libxed.so > $ ldconfig -p | grep xed > $ >
A short term solution might be to add /usr/local/lib with ldconfig i.e. sudo ldconfig /usr/local/lib