RE: git is broken because curl is broken which stops me in my tracks
Date: Mon, 15 Sep 2025 03:15:48 UTC
[Note: do not have access to a riscv64 context, limiting my ability to detect expected differences.] Dennis Clarke <dclarke_at_blastwave.org> wrote on Date: Mon, 15 Sep 2025 01:00:06 UTC : > Well I am not sure how to get around this mess : uname -apKU output for the failing context? For the poudriere jail's world? On main 16 for amd64, for example: /usr/lib/libkrb5.so.122 Does that file exist in your failing context? So, presuming use of the system libraries for such, not a ports-build of such a library, the missing or unloadble library is a system library. Are you in fact trying to use the system library? Are you sure that you have your system and your poudriere jail's world configurations matching, such as for WITH_MITKRB5 vs. WITHOUT_MITKRB5 ? > enceladus# cd /usr/src > enceladus# git pull origin main > ld-elf.so.1: Shared object "libkrb5.so.122" not found, required by > "libcurl.so.4" > fatal: remote helper 'https' aborted session I'll note that "ldd -a PATH" gives a lot more information about the dependency structure that causes libraries to be listed. Sometimes that is handy. > enceladus# > > enceladus# which curl > /usr/local/bin/curl > enceladus# ldd /usr/local/bin/curl > /usr/local/bin/curl: > libcurl.so.4 => /usr/local/lib/libcurl.so.4 (0xf8817c000) > libnghttp2.so.14 => /usr/local/lib/libnghttp2.so.14 (0xf893c8000) > libidn2.so.0 => /usr/local/lib/libidn2.so.0 (0xf8963d000) > libssh2.so.1 => /usr/local/lib/libssh2.so.1 (0xf89bba000) > libpsl.so.5 => /usr/local/lib/libpsl.so.5 (0xf8aa31000) > libssl.so.35 => /usr/lib/libssl.so.35 (0xf8ae2c000) > libcrypto.so.35 => /lib/libcrypto.so.35 (0xf8b1e0000) > libzstd.so.1 => /usr/local/lib/libzstd.so.1 (0xf8c1b0000) > libbrotlidec.so.1 => /usr/local/lib/libbrotlidec.so.1 (0xf882b2000) > libbrotlicommon.so.1 => /usr/local/lib/libbrotlicommon.so.1 > (0xf8c9b1000) > libz.so.6 => /lib/libz.so.6 (0xf8d7cb000) > libkrb5.so.122 => not found (0) For reference (direct dependencies): /usr/lib/libkrb5.so.122: libkrb5profile.so.122 => /usr/lib/libkrb5profile.so.122 (0x2379de65d000) libk5crypto.so.122 => /usr/lib/libk5crypto.so.122 (0x2379d35a9000) libcom_err.so.122 => /usr/lib/libcom_err.so.122 (0x2379e0026000) libkrb5support.so.122 => /usr/lib/libkrb5support.so.122 (0x2379e0744000) libc.so.7 => /lib/libc.so.7 (0x2379dc970000) Note that any of the following being missing or otherwise unloadable would make /usr/lib/libkrb5.so.122 unloadable: libkrb5profile.so.122 libk5crypto.so.122 libcom_err.so.122 libkrb5support.so.122 > libgssapi_krb5.so.122 => not found (0) /usr/lib/libgssapi_krb5.so.122: libkrb5.so.122 => /usr/lib/libkrb5.so.122 (0x2379db301000) libk5crypto.so.122 => /usr/lib/libk5crypto.so.122 (0x2379d35a9000) libcom_err.so.122 => /usr/lib/libcom_err.so.122 (0x2379e0026000) libkrb5profile.so.122 => /usr/lib/libkrb5profile.so.122 (0x2379de65d000) libkrb5support.so.122 => /usr/lib/libkrb5support.so.122 (0x2379e0744000) libc.so.7 => /lib/libc.so.7 (0x2379dc970000) Note that any of the following being missing or otherwise unloadable would make /usr/lib/libkrb5.so.122 unloadable: libkrb5profile.so.122 libk5crypto.so.122 libcom_err.so.122 libkrb5support.so.122 > libthr.so.3 => /lib/libthr.so.3 (0xf8e1e5000) > libc.so.7 => /lib/libc.so.7 (0xf8e4c8000) > libkrb5.so.122 => not found (0) Hmm. 2nd time libkrb5.so.122 is listed. > libgssapi_krb5.so.122 => not found (0) Hmm. 2nd time libgssapi_krb5.so.122 is listed. > libunistring.so.5 => /usr/local/lib/libunistring.so.5 (0xf8f160000) > libm.so.5 => /lib/libm.so.5 (0xf8fbe8000) > libsys.so.7 => /lib/libsys.so.7 (0xf9069e000) Before libsys.so.7 my environment also has a: /usr/lib/libkrb5profile.so.122: libcom_err.so.122 => /usr/lib/libcom_err.so.122 (0x2379e0026000) libkrb5support.so.122 => /usr/lib/libkrb5support.so.122 (0x2379e0744000) libc.so.7 => /lib/libc.so.7 (0x2379dc970000) and a: /usr/lib/libk5crypto.so.122: libcom_err.so.122 => /usr/lib/libcom_err.so.122 (0x2379e0026000) libkrb5support.so.122 => /usr/lib/libkrb5support.so.122 (0x2379e0744000) libcrypto.so.35 => /lib/libcrypto.so.35 (0x2379d7a00000) libc.so.7 => /lib/libc.so.7 (0x2379dc970000) and a: /usr/lib/libcom_err.so.122: libkrb5support.so.122 => /usr/lib/libkrb5support.so.122 (0xe8544fb8000) libc.so.7 => /lib/libc.so.7 (0xe8547e9b000) and a: /usr/lib/libkrb5support.so.122: libc.so.7 => /lib/libc.so.7 (0x2379dc970000) What does your context have relative to such? What of the poudriere jail's world? > enceladus# > enceladus# which git > /usr/local/bin/git > > enceladus# pkg query %n\ %v\ %o\ \%R\ %a | grep '0$' > apache24 2.4.65_1 www/apache24 RV64 0 > autoconf 2.72 devel/autoconf RV64 0 > autogen 5.18.16_4 devel/autogen RV64 0 > autotools 20220528 devel/autotools RV64 0 > ccache-static 3.7.12_8 devel/ccache-static RV64 0 > git 2.51.0 devel/git RV64 0 > gmake 4.4.1 devel/gmake RV64 0 > pkg 2.2.2 ports-mgmt/pkg RV64 0 > poudriere 3.4.3 ports-mgmt/poudriere RV64 0 > rust 1.89.0 lang/rust RV64 0 > tmux 3.5a_1 sysutils/tmux RV64 0 > vim 9.1.1723 editors/vim RV64 0 > xauth 1.1.4 x11/xauth RV64 0 > xlogo 1.0.7 x11/xlogo RV64 0 > xterm 401 x11/xterm RV64 0 > enceladus# > > All that stuff was locally built with poudriere on this RISC-V board > and now it seems I need some libs that vanished somewhere. > > I am not sure how to dig out of this rathole. === Mark Millard marklmi at yahoo.com