Hi, after installing the latest package zypper is broken:
zypper: symbol lookup error: /usr/lib64/libzypp.so.1735: undefined symbol: _ZN4YAML6detail9node_data12empty_scalarB5cxx11Ev
ls -l /usr/lib64/libzypp*
lrwxrwxrwx 1 root root 19 May 2 07:34 /usr/lib64/libzypp.so.1735 -> libzypp.so.1735.1.7
-rwxr-xr-x 1 root root 8923184 May 2 07:34 /usr/lib64/libzypp.so.1735.1.7
I downloaded the packages and checked which version is inside:
rpm -qlp libzypp-17.36.7-150600.3.53.1.x86_64.rpm
...
/usr/lib64/libzypp.so.1735
/usr/lib64/libzypp.so.1735.1.7
how can I get zypper to work again?
Its solved: I took the error ZN4YAML6detail9node_data12empty_scalarB5cxx11Ev and searched for “yaml detail node_data”: I had old libs on the server
rpm -qa | grep yaml
libyaml-cpp0_6-0.6.1-4.5.1.x86_64
libyaml-0-2-0.1.7-1.17.x86_64
I had to compile src.rpm on another system, install it and zypper is working again:
rpm -Uvh libyaml-cpp0_6-0.6.3-150400.4.3.1.x86_64.rpm yaml-cpp-devel-0.6.3-150400.4.3.1.x86_64.rpm
Do you have some none-SLES repos enabled?
No, SUSE_Linux_Enterprise_Server_15_SP6_x86_64, Base and 4 SLES15SP6 modules.
I asked because a minimal fresh install of SLES15 SP6 has the newer version of libyaml-cpp0_6
already installed:
vbox-simon-sles156:~ # rpm -qa *yaml*
libyaml-0-2-0.1.7-1.17.x86_64
libyaml-cpp0_6-0.6.3-150400.4.3.1.x86_64
although the libzypp package is older (I’m waiting for my updated registration codes to come through)
vbox-simon-sles156:~ # ls -l /usr/lib64/libzypp*
lrwxrwxrwx 1 root root 19 May 9 2024 /usr/lib64/libzypp.so.1732 -> libzypp.so.1732.0.4
-rwxr-xr-x 1 root root 9037608 May 9 2024 /usr/lib64/libzypp.so.1732.0.4
vbox-simon-sles156:~ # rpm -qa libzypp*
libzypp-17.32.4-150600.1.2.x86_64
Was your system upgraded from an earlier version of SLES?