On Monday, 5 July 2021 3:00:30 PM ACST Andrei Borzenkov wrote:
On 05.07.2021 07:46, Rodney Baker wrote:
On Monday, 5 July 2021 1:51:44 PM ACST Andrei Borzenkov wrote:
On 04.07.2021 08:27, Rodney Baker wrote:
Hi all,
Trying to run CPU-X on Tumbleweed (installed from main TW OSS repo) and I get the following error:
Cpu-x: error while loading shared libraries: libpcre2-posix.so.2: cannot open shared object file: No such file or directory
I do not see libpcre (whatever variant) being used in CPU-X build nor is pcre listed as requirement on project page. You need to find out what fails exactly and why. Probably some other library that is loaded by CPU-X needs it. It would mean this library had not been updated for quite some time.
Should full output of
strace cpu-x (or whatever this command that fails is called)/usr/lib64 # strace cpu-x execve("/usr/local/bin/cpu-x", ["cpu-x"], 0x7fff907c5470 /* 65 vars */) = 0
That cannot be program that you "installed from main TW OSS repo). It is not installed in this location.
Indeed. Good pickup. Funny that it was the correct version, but I didn't notice the path. 'which cpu-x' could have told me that. Yes, it existed in both /usr/bin/ and /usr/local/bin. Removed /usr/local/bin/cpu-x and /usr/bin/cpu-x runs fine - as it should. I must have had an old manually-installed version still hanging around from when it either wasn't available in the TW repo or the repo version was behind the current version . Thanks for picking that up, and sorry for the noise on the list. (It just goes to show that a) it helps to ask the right questions, and b) sometimes we see what we expect to see, not what's actually staring us in the face). Regards, Rodney. -- ================================================================================================================== Rodney Baker rodney.baker@iinet.net.au ==================================================================================================================