* Rodney Baker
On Sunday, 4 July 2021 2:57:06 PM ACST 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
rpm -qa | grep 'libprce2-posix' shows that libpcre2-posix3-10.37-1.1.x86_64 is installed.
Should there be a symlink somewhere from libpcre2-posix3 to libprce-posix, or is there a missing dependency for cpu-x? Does this need a bug report?
Regards,
Worked around it by symlinking /usr/lib64/libpcre2-posix.so.3.0.0 to libpcre2- posix.so.2, but this should not be necessary. I'm thinking, though, that this is probably a CPU-X or packaging bug rather than a TW issue?
fwiw: zypper -v in cup-x worked for me on tw and: ls -la /usr/lib64/libpcre2-* lrwxrwxrwx 1 root root 21 Jun 5 17:37 /usr/lib64/libpcre2-16.so -> libpcre2-16.so.0.10.2 lrwxrwxrwx 1 root root 21 Jun 5 17:37 /usr/lib64/libpcre2-16.so.0 -> libpcre2-16.so.0.10.2 -rwxr-xr-x 1 root root 690624 Jun 5 17:37 /usr/lib64/libpcre2-16.so.0.10.2 lrwxrwxrwx 1 root root 21 Jun 5 17:37 /usr/lib64/libpcre2-32.so -> libpcre2-32.so.0.10.2 lrwxrwxrwx 1 root root 21 Jun 5 17:37 /usr/lib64/libpcre2-32.so.0 -> libpcre2-32.so.0.10.2 -rwxr-xr-x 1 root root 637376 Jun 5 17:37 /usr/lib64/libpcre2-32.so.0.10.2 lrwxrwxrwx 1 root root 20 Jun 5 17:37 /usr/lib64/libpcre2-8.so -> libpcre2-8.so.0.10.2 lrwxrwxrwx 1 root root 20 Jun 5 17:37 /usr/lib64/libpcre2-8.so.0 -> libpcre2-8.so.0.10.2 -rwxr-xr-x 1 root root 702904 Jun 5 17:37 /usr/lib64/libpcre2-8.so.0.10.2 lrwxrwxrwx 1 root root 23 Jun 5 17:37 /usr/lib64/libpcre2-posix.so -> libpcre2-posix.so.3.0.0 lrwxrwxrwx 1 root root 23 Jun 5 17:37 /usr/lib64/libpcre2-posix.so.3 -> libpcre2-posix.so.3.0.0 -rwxr-xr-x 1 root root 14400 Jun 5 17:37 /usr/lib64/libpcre2-posix.so.3.0.0 cup-x works as expected. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode