bug-guile-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guile-ncurses-3.0: Undefined references on Gentoo with slibtool


From: orbea
Subject: guile-ncurses-3.0: Undefined references on Gentoo with slibtool
Date: Mon, 9 May 2022 09:18:33 -0700

Hi,

Gentoo Bug: https://bugs.gentoo.org/843416
Slibtool: https://dev.midipix.org/cross/slibtool

When building guile-ncurses-3.0 on Gentoo with slibtool it will fail
with many undefined references. This happens for two reasons:

1. On Gentoo both -lncursesw and -ltinfow are needed where the build
   omits -ltinfow/-ltinfo entirely.

2. The build system uses -no-undefined, but with GNU libtool this is
   silently ignored while slibtool will respect the linker flag.

I attached a basic patch against guile-ncurses-3.0 that solves the
issue for me, but feel free to improve upon it if needed.

Attachment: guile-ncurses-gentoo-slibtool-undefined.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]