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)
rpm -qa | grep 'libprce2-posix' shows that libpcre2-posix3-10.37-1.1.x86_64 is installed.
How grepping for "prce" can suddenly match "pcre"?
Should there be a symlink somewhere from libpcre2-posix3 to libprce-posix, or
libpcre2-posix3 is a package, not a file, so there certainly cannot be any link from it to a file. If you mean link from libpcre2-posix.so.2 to libpcre2-posix.so.3 - no, there should not. Change of shared library major version indicates that there are incompatible changes (otherwise there had been no need to increase major version).
is there a missing dependency for cpu-x? Does this need a bug report?
Regards,