You are not logged in.

#1 2022-11-15 00:14:50

s0l1dsnak3123
Member
From: Scotland
Registered: 2008-06-26
Posts: 69
Website

I have libunistring 1.1-2 installed, but make needs libunistring.so.2

Hi there,

I have libunistring 1.1-2, which provides libunistring.so.5:

$ paru -Qi libunistring --list
Name            : libunistring
Version         : 1.1-2
Description     : Library for manipulating Unicode strings and C strings
Architecture    : x86_64
URL             : https://www.gnu.org/software/libunistring/
Licenses        : GPL
Groups          : None
Provides        : libunistring.so=5-64
Depends On      : glibc
Optional Deps   : None
Required By     : gettext  gnunet  gnutls  guile3  lib32-libunistring  libidn2  libpsl
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 2.50 MiB
Packager        : Evangelos Foutras <foutrelis@archlinux.org>
Build Date      : Mon 07 Nov 2022 01:27:09 AM GMT
Install Date    : Tue 15 Nov 2022 12:02:57 AM GMT
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

libunistring /usr/
libunistring /usr/include/
libunistring /usr/include/unicase.h
libunistring /usr/include/uniconv.h
libunistring /usr/include/unictype.h
libunistring /usr/include/unigbrk.h
libunistring /usr/include/unilbrk.h
libunistring /usr/include/uniname.h
libunistring /usr/include/uninorm.h
libunistring /usr/include/unistdio.h
libunistring /usr/include/unistr.h
libunistring /usr/include/unistring/
libunistring /usr/include/unistring/cdefs.h
libunistring /usr/include/unistring/iconveh.h
libunistring /usr/include/unistring/inline.h
libunistring /usr/include/unistring/localcharset.h
libunistring /usr/include/unistring/stdbool.h
libunistring /usr/include/unistring/stdint.h
libunistring /usr/include/unistring/version.h
libunistring /usr/include/unistring/woe32dll.h
libunistring /usr/include/unitypes.h
libunistring /usr/include/uniwbrk.h
libunistring /usr/include/uniwidth.h
libunistring /usr/lib/
libunistring /usr/lib/libunistring.so
libunistring /usr/lib/libunistring.so.5
libunistring /usr/lib/libunistring.so.5.0.0
libunistring /usr/share/
libunistring /usr/share/doc/
libunistring /usr/share/doc/libunistring/
libunistring /usr/share/doc/libunistring/libunistring_1.html
libunistring /usr/share/doc/libunistring/libunistring_10.html
libunistring /usr/share/doc/libunistring/libunistring_11.html
libunistring /usr/share/doc/libunistring/libunistring_12.html
libunistring /usr/share/doc/libunistring/libunistring_13.html
libunistring /usr/share/doc/libunistring/libunistring_14.html
libunistring /usr/share/doc/libunistring/libunistring_15.html
libunistring /usr/share/doc/libunistring/libunistring_16.html
libunistring /usr/share/doc/libunistring/libunistring_17.html
libunistring /usr/share/doc/libunistring/libunistring_18.html
libunistring /usr/share/doc/libunistring/libunistring_19.html
libunistring /usr/share/doc/libunistring/libunistring_2.html
libunistring /usr/share/doc/libunistring/libunistring_20.html
libunistring /usr/share/doc/libunistring/libunistring_21.html
libunistring /usr/share/doc/libunistring/libunistring_22.html
libunistring /usr/share/doc/libunistring/libunistring_3.html
libunistring /usr/share/doc/libunistring/libunistring_4.html
libunistring /usr/share/doc/libunistring/libunistring_5.html
libunistring /usr/share/doc/libunistring/libunistring_6.html
libunistring /usr/share/doc/libunistring/libunistring_7.html
libunistring /usr/share/doc/libunistring/libunistring_8.html
libunistring /usr/share/doc/libunistring/libunistring_9.html
libunistring /usr/share/doc/libunistring/libunistring_abt.html
libunistring /usr/share/doc/libunistring/libunistring_toc.html
libunistring /usr/share/info/
libunistring /usr/share/info/libunistring.info.gz

However, my /usr/bin/make requires libunistring.so.2:

$ strace /usr/bin/make
<snip>
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/glibc-hwcaps/x86-64-v4/libunistring.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/glibc-hwcaps/x86-64-v4", 0x7ffe88bd83a0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/glibc-hwcaps/x86-64-v3/libunistring.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/glibc-hwcaps/x86-64-v3", 0x7ffe88bd83a0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/glibc-hwcaps/x86-64-v2/libunistring.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/glibc-hwcaps/x86-64-v2", 0x7ffe88bd83a0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/haswell/avx512_1/x86_64/libunistring.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/tls/haswell/avx512_1/x86_64", 0x7ffe88bd83a0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/haswell/avx512_1/libunistring.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/tls/haswell/avx512_1", 0x7ffe88bd83a0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/haswell/x86_64/libunistring.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/tls/haswell/x86_64", 0x7ffe88bd83a0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/haswell/libunistring.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/tls/haswell", 0x7ffe88bd83a0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/avx512_1/x86_64/libunistring.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/tls/avx512_1/x86_64", 0x7ffe88bd83a0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/avx512_1/libunistring.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/tls/avx512_1", 0x7ffe88bd83a0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/x86_64/libunistring.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/tls/x86_64", 0x7ffe88bd83a0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/libunistring.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/tls", 0x7ffe88bd83a0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/haswell/avx512_1/x86_64/libunistring.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/haswell/avx512_1/x86_64", 0x7ffe88bd83a0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/haswell/avx512_1/libunistring.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/haswell/avx512_1", 0x7ffe88bd83a0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/haswell/x86_64/libunistring.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/haswell/x86_64", 0x7ffe88bd83a0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/haswell/libunistring.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/haswell", 0x7ffe88bd83a0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/avx512_1/x86_64/libunistring.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/avx512_1/x86_64", 0x7ffe88bd83a0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/avx512_1/libunistring.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/avx512_1", 0x7ffe88bd83a0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64/libunistring.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/x86_64", 0x7ffe88bd83a0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libunistring.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib", {st_mode=S_IFDIR|0755, st_size=421888, ...}, 0) = 0
writev(2, [{iov_base="/usr/bin/make", iov_len=13}, {iov_base=": ", iov_len=2}, {iov_base="error while loading shared libra"..., iov_len=36}, {iov_base=": ", iov_len=2}, {iov_base="libunistring.so.2", iov_len=17}, {iov_base=": ", iov_len=2}, {iov_base="cannot open shared object file", iov_len=30}, {iov_base=": ", iov_len=2}, {iov_base="No such file or directory", iov_len=25}, {iov_base="\n", iov_len=1}], 10/usr/bin/make: error while loading shared libraries: libunistring.so.2: cannot open shared object file: No such file or directory
) = 130
exit_group(127)                         = ?
+++ exited with 127 +++
$ paru -Qi make
Name            : make
Version         : 4.3-5
Description     : GNU make utility to maintain groups of programs
Architecture    : x86_64
URL             : https://www.gnu.org/software/make
Licenses        : GPL3
Groups          : base-devel
Provides        : None
Depends On      : glibc  guile
Optional Deps   : None
Required By     : dkms
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 1567.65 KiB
Packager        : Evangelos Foutras <foutrelis@archlinux.org>
Build Date      : Thu 10 Nov 2022 12:14:23 AM GMT
Install Date    : Tue 15 Nov 2022 12:07:40 AM GMT
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

I'm not sure how I managed to do this, help!

Last edited by s0l1dsnak3123 (2022-11-15 00:16:32)

Offline

#2 2022-11-15 01:00:54

Scimmia
Fellow
Registered: 2012-09-01
Posts: 9,830

Re: I have libunistring 1.1-2 installed, but make needs libunistring.so.2

Snipping out the important part of the output isn't very helpful.

Just check it with lddtree, see where the actual problem is. make itself is not linked to libunistring at all.

Offline

#3 2022-11-15 01:16:13

s0l1dsnak3123
Member
From: Scotland
Registered: 2008-06-26
Posts: 69
Website

Re: I have libunistring 1.1-2 installed, but make needs libunistring.so.2

After compiling https://github.com/messense/lddtree-rs

❯ /home/john/.asdf/installs/rust/1.63.0/bin/lddtree /usr/bin/make
/lib64/ld-linux-x86-64.so.2 => /usr/lib/ld-linux-x86-64.so.2
libguile-3.0.so.1 => /usr/lib/libguile-3.0.so.1.5.0
    libgc.so.1 => /usr/lib/libgc.so.1.5.1
        libc.so.6 => /usr/lib/libc.so.6
            ld-linux-x86-64.so.2 => /usr/lib/ld-linux-x86-64.so.2
        ld-linux-x86-64.so.2 => /usr/lib/ld-linux-x86-64.so.2
    libffi.so.8 => /usr/lib/libffi.so.8.1.2
        libc.so.6 => /usr/lib/libc.so.6
            ld-linux-x86-64.so.2 => /usr/lib/ld-linux-x86-64.so.2
    libunistring.so.2 => not found
    libgmp.so.10 => /usr/lib/libgmp.so.10.4.1
        libc.so.6 => /usr/lib/libc.so.6
            ld-linux-x86-64.so.2 => /usr/lib/ld-linux-x86-64.so.2
    libcrypt.so.2 => /usr/lib/libcrypt.so.2.0.0
        libc.so.6 => /usr/lib/libc.so.6
            ld-linux-x86-64.so.2 => /usr/lib/ld-linux-x86-64.so.2
    libm.so.6 => /usr/lib/libm.so.6
        libc.so.6 => /usr/lib/libc.so.6
            ld-linux-x86-64.so.2 => /usr/lib/ld-linux-x86-64.so.2
        ld-linux-x86-64.so.2 => /usr/lib/ld-linux-x86-64.so.2
    libc.so.6 => /usr/lib/libc.so.6
        ld-linux-x86-64.so.2 => /usr/lib/ld-linux-x86-64.so.2
    ld-linux-x86-64.so.2 => /usr/lib/ld-linux-x86-64.so.2
libc.so.6 => /usr/lib/libc.so.6
    ld-linux-x86-64.so.2 => /usr/lib/ld-linux-x86-64.so.2

Last edited by s0l1dsnak3123 (2022-11-15 01:16:48)

Offline

#4 2022-11-15 02:03:56

Scimmia
Fellow
Registered: 2012-09-01
Posts: 9,830

Re: I have libunistring 1.1-2 installed, but make needs libunistring.so.2

See pacman -F, lddtree is already in the repos.

Anyway, that shows the lib is being loaded by libguile-3.0.so.1. This was already rebuilt in the repos, do you either did a partial update or you replace the Arch package with something else.

Offline

#5 2022-11-15 14:58:35

s0l1dsnak3123
Member
From: Scotland
Registered: 2008-06-26
Posts: 69
Website

Re: I have libunistring 1.1-2 installed, but make needs libunistring.so.2

Thank you, the problem was with GNU Guix.

Offline

#6 2022-11-15 16:54:20

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,647

Re: I have libunistring 1.1-2 installed, but make needs libunistring.so.2

Please remember to mark the thread as [SOLVED].
CoC - How to post


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Online

Board footer

Powered by FluxBB