Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing libtinfo link causes build failure. #17

Open
litwol opened this issue Jun 24, 2023 · 0 comments
Open

Missing libtinfo link causes build failure. #17

litwol opened this issue Jun 24, 2023 · 0 comments

Comments

@litwol
Copy link

litwol commented Jun 24, 2023

0001-link-to-libtinfo.patch.txt

Build command is failing:

[ 20%] Linking CXX executable tw-pomodoro
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/tw-pomodoro.dir/src/Ncurses.cpp.o: undefined reference to symbol 'curs_set'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/tw-pomodoro.dir/build.make:149: tw-pomodoro] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/tw-pomodoro.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2

It appears libtinfo needs to be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant