Software management, zypper, ..., crashes with segfault

Predictable result:

ldd /usr/lib64/YaST2/plugin/libpy2Pkg.so.2
        linux-vdso.so.1 (0x00007ffe9c329000)
        libycp.so.5 => /usr/lib64/libycp.so.5 (0x00007fc5a5ea0000)
        libycpvalues.so.6 => /usr/lib64/libycpvalues.so.6 (0x00007fc5a5c34000)
        liby2.so.4 => /usr/lib64/liby2.so.4 (0x00007fc5a5a09000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fc5a57ec000)
        liby2util.so.5 => /usr/lib64/liby2util.so.5 (0x00007fc5a55c8000)
        libzypp.so.1519 => /usr/lib64/libzypp.so.1519 (0x00007fc5a4eda000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fc5a4b56000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fc5a47ae000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fc5a4596000)
        libowcrypt.so.1 => /lib64/libowcrypt.so.1 (0x00007fc5a4393000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fc5a4158000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fc5a3e56000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fc5a3c52000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555e32902000)
        libutil.so.1 => /lib64/libutil.so.1 (0x00007fc5a3a4f000)
        librpm.so.3 => /usr/lib64/librpm.so.3 (0x00007fc5a367c000)
        libcurl.so.4 => /usr/local/lib64/libcurl.so.4 (0x00007fc5a3418000)
        libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007fc5a30ac000)
        libz.so.1 => /lib64/libz.so.1 (0x00007fc5a2e95000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007fc5a2c6b000)
        libcrypto.so.1.0.0 => /lib64/libcrypto.so.1.0.0 (0x00007fc5a2877000)
        libudev.so.1 => /usr/lib64/libudev.so.1 (0x00007fc5a2664000)
        libproxy.so.1 => /usr/lib64/libproxy.so.1 (0x00007fc5a2442000)
        librpmio.so.3 => /usr/lib64/librpmio.so.3 (0x00007fc5a21f0000)
        librt.so.1 => /lib64/librt.so.1 (0x00007fc5a1fe8000)
        libpopt.so.0 => /usr/lib64/libpopt.so.0 (0x00007fc5a1ddb000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fc5a1bb6000)
        libcap.so.2 => /lib64/libcap.so.2 (0x00007fc5a19b1000)
        libacl.so.1 => /lib64/libacl.so.1 (0x00007fc5a17a8000)
        liblua.so.5.1 => /usr/lib64/liblua.so.5.1 (0x00007fc5a1577000)
        libssl.so.37 => not found
        libcrypto.so.36 => /usr/lib64/libcrypto.so.36 (0x00007fc5a1169000)
        liblzma.so.5 => /usr/lib64/liblzma.so.5 (0x00007fc5a0f42000)
        libmodman.so.1 => /usr/lib64/libmodman.so.1 (0x00007fc5a0d3a000)
        libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x00007fc5a0b2a000)
        libelf.so.1 => /usr/lib64/libelf.so.1 (0x00007fc5a0914000)
        libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007fc5a06ae000)
        libattr.so.1 => /lib64/libattr.so.1 (0x00007fc5a04a8000)

Not quite, at least not for me. :wink:

The “libssl.so.37 => not found” was predictable, yes, but it does show the culprit:

        libcurl.so.4 => /usr/local/lib64/libcurl.so.4 (0x00007fc5a3418000)

You have a libcurl in /usr/local/lib64/ (which overrides the system’s /usr/lib64/), and that is apparently built against (and uses) libssl37.
Removing that will hopefully fix your problems.

sudo rm /usr/local/lib64/libcurl.so.4

Yes, i said about that ))

Yes, it really mostly solves my problems: now i can start software management, and zypper verify, also autoupdates work now. Thank you very much!

So - the main reason is that - i’ve installed 1-2 days ago libcurl (curl - Download) from sources. Now system is not stable - while i write this message - again appears /usr/local/lib64/libcurl.so.4 (probably after i tried call curl…).
What the best way totally delete libcurl, installed from sources and install opensuse-package version?

Great! :slight_smile:

So - the main reason is that - i’ve installed 1-2 days ago libcurl (curl - Download) from sources. Now system is not stable - while i write this message - again appears /usr/local/lib64/libcurl.so.4 (probably after i tried call curl…).

Yes, you probably have a curl executable in /usr/local/bin/ as well, that expects the library in /usr/local/ because that’s how it was compiled.

What the best way totally delete libcurl, installed from sources and install opensuse-package version?

You may be able to run “make uninstall” in the source code directory (where you ran make and “make install”).

Or just remove all files manually, all of them should be in /usr/local/, and it should otherwise be empty anyway.

Thanks for the help. I suppose the Thread can be closed.