[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62659] libgettextpo.so has undefined reference to gl_get_setlocale
From: |
Sam James |
Subject: |
[bug #62659] libgettextpo.so has undefined reference to gl_get_setlocale_null_lock on musl |
Date: |
Sun, 3 Jul 2022 12:37:57 -0400 (EDT) |
Follow-up Comment #4, bug #62659 (project gettext):
Outside the chroot:
1. mkdir /tmp/musl-gentoo && cd /tmp/musl-gentoo
2. wget
https://bouncer.gentoo.org/fetch/root/all/releases/amd64/autobuilds/20220626T170536Z/stage3-amd64-musl-20220626T170536Z.tar.xz
&& tar xvf stage3-amd64-musl-20220626T170536Z.tar.xz
3. chroot in to /tmp/musl-gentoo as desired (I used systemd-nspawn -D . for
convenience, you can use whichever you prefer)
Within the chroot:
1. mkdir /tmp/gettext && cd /tmp/gettext
2. wget https://ftp.gnu.org/gnu/gettext/gettext-0.21.tar.xz && tar xvf
gettext-0.21.tar.xz && cd gettext-0.21
3. ./configure --prefix=/tmp/gettext/build && make -j$(nproc) && make
-j$(nproc) install
4. ```
# ldd /tmp/gettext/build/lib/libgettextpo.so
ldd (0x7fd27925c000)
libc.so => ldd (0x7fd27925c000)
libunistring.so.2 => /usr/lib/libunistring.so.2 (0x7fd279079000)
Error relocating /tmp/gettext/build/lib/libgettextpo.so:
gl_get_setlocale_null_lock: symbol not found
```
I can assist, if you need it, with getting development tools within the
chroot/Gentoo environment. Or answer any questions about it.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62659>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/