Summary: | >=net-vpn/tinc-1.1_pre14-r3 - ld: top.o: undefined reference to symbol 'wtimeout' =-= /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Samantha McVey <samantham> |
Component: | Current packages | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dlan, esigra, jer, jstein, slawomir.nizio |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 457530 | ||
Attachments: |
Build log
Patch to fix build |
Created attachment 476688 [details, diff]
Patch to fix build
this is still unfixed in pre15 Comment on attachment 476688 [details, diff]
Patch to fix build
That's not the correct way to do it, as now the package suddenly requires USE=tinfo on sys-libs/ncurses.
commit cbef68ea60721674d19cfc8c7571640c501768cc Author: Jeroen Roovers <jer@gentoo.org> Date: Sun Feb 25 21:57:48 2018 +0100 net-vpn/tinc: Fix compiling against sys-libs/ncurses[tinfo] (bug #621868). Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
Created attachment 476686 [details] Build log 1.1_pre14-r3 fails to compile without this patch. My friend also using gentoo says this bug has been around months, and gave me this patch to fix it, which caused it to install flawlessly. ## The error see attached file for full log /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: top.o: undefined reference to symbol 'wtimeout' /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line ## The patch. Will be attached to next message --- a/m4/curses.m4 2016-10-16 01:58:57.739207738 +0700 +++ b/m4/curses.m4 2016-10-16 01:59:04.610959120 +0700 @@ -32,7 +32,7 @@ ) AC_CHECK_LIB(ncurses, initscr, - [CURSES_LIBS="-lncurses"], + [CURSES_LIBS="-lncurses -ltinfo"], [AC_CHECK_LIB(curses, initscr, [CURSES_LIBS="-lcurses"], [AC_MSG_ERROR("curses libraries not found.")]