Summary: |
app-misc/dvorakng-0.6.0 - ld: dvorakng.o: undefined reference to symbol 'curs_set' |
Product: |
Gentoo Linux
|
Reporter: |
Aline Freitas <aline> |
Component: |
Current packages | Assignee: |
No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: |
RESOLVED
FIXED
|
|
|
Severity: |
normal
|
CC: |
jer
|
Priority: |
Normal
|
|
|
Version: |
unspecified | |
|
Hardware: |
AMD64 | |
|
OS: |
Linux | |
|
Whiteboard: |
|
Package list:
|
|
Runtime testing required:
|
---
|
Bug Depends on: |
|
|
|
Bug Blocks: |
457530
|
|
|
Attachments: |
makefile-libs.patch
dvorakng-0.6.0.ebuild
|
Created attachment 440842 [details, diff] makefile-libs.patch This ebuild breaks in linkage: x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -o dvorakng dvorakng.o lessons.o -lncurses /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: dvorakng.o: undefined reference to symbol 'curs_set' /lib64/libtinfo.so.5: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Makefile:33: recipe for target 'dvorakng' failed make: *** [dvorakng] Error 1 The fix is very simple: we just need to add "-ltinfo" Attached is a suggested patch and the corresponding ebuild.