From: Bagas Sanjaya <bagasdotme@gmail.com>
To: Peter Seiderer <ps.report@gmx.net>
Cc: Buildroot Development <buildroot@buildroot.org>
Subject: Re: [Buildroot] libreadline undefined symbol error when generating rootfs tarball
Date: Sat, 20 Sep 2025 14:05:23 +0700 [thread overview]
Message-ID: <aM5SMwzk5RLYAn2U@archie.me> (raw)
In-Reply-To: <20250919162048.63853d57@pc-1>
[-- Attachment #1.1: Type: text/plain, Size: 1519 bytes --]
On Fri, Sep 19, 2025 at 04:20:48PM +0200, Peter Seiderer wrote:
> On my system:
>
> $ nm -A ./host/lib64/*.so | grep tputs@NCURSES6_TINFO_5.0.19991023
> ./host/lib64/libreadline.so: U tputs@NCURSES6_TINFO_5.0.19991023
>
> $ ldd ./host/lib64/libreadline.so
> linux-vdso.so.1 (0x00007f6e7f520000)
> libtinfo.so.6 => /lib64/libtinfo.so.6 (0x00007f6e7f452000)
> libc.so.6 => /lib64/libc.so.6 (0x00007f6e7f200000)
> /lib64/ld-linux-x86-64.so.2 (0x00007f6e7f522000)
>
> With the following patch:
>
> diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk
> index 864f62b57c..a837ac96bf 100644
> --- a/package/ncurses/ncurses.mk
> +++ b/package/ncurses/ncurses.mk
> @@ -162,7 +162,9 @@ HOST_NCURSES_CONF_OPTS = \
> --without-ada \
> --with-default-terminfo-dir=/usr/share/terminfo \
> --disable-db-install \
> - --without-normal
> + --without-normal \
> + --with-termlib \
> + --disable-widec
>
> $(eval $(autotools-package))
> $(eval $(host-autotools-package))
>
>
> $ ldd ./host/lib64/libreadline.so
> linux-vdso.so.1 (0x00007f1b32fd3000)
> libtinfo.so.6 => /home/seiderer/Work/Buildroot/build_aarch64_gdb_libreadline_001/host/lib/libtinfo.so.6 (0x00007f1b32f2a000)
> libc.so.6 => /lib64/libc.so.6 (0x00007f1b32c00000)
> /lib64/ld-linux-x86-64.so.2 (0x00007f1b32fd5000)
>
Your patch works! I can generate SDK tarball now.
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2025-09-20 7:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-16 2:11 [Buildroot] libreadline undefined symbol error when generating rootfs tarball Bagas Sanjaya
2025-09-16 6:42 ` Peter Seiderer via buildroot
2025-09-17 5:20 ` Bagas Sanjaya
2025-09-17 15:20 ` Peter Seiderer via buildroot
2025-09-18 0:28 ` Bagas Sanjaya
2025-09-18 6:52 ` Peter Seiderer via buildroot
2025-09-18 22:18 ` Bagas Sanjaya
2025-09-19 14:20 ` Peter Seiderer via buildroot
2025-09-20 7:05 ` Bagas Sanjaya [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aM5SMwzk5RLYAn2U@archie.me \
--to=bagasdotme@gmail.com \
--cc=buildroot@buildroot.org \
--cc=ps.report@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.