Re: Linking problem with ncurses on rawhide, not f37

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

 



On Thu, Dec 15, 2022 at 2:02 PM Ron Olson <tachoknight@xxxxxxxxx> wrote:
> Hey all-
>
> I got linking errors on rawhide that I did not get on F37 when building Swift related to curses support (https://kojipkgs.fedoraproject.org//work/tasks/7462/95367462/build.log), like:
>
> /usr/bin/ld: /usr/lib64/libncurses.so.6: undefined reference to tparm@NCURSES6_TINFO_5.0.19991023' /usr/bin/ld: /usr/lib64/libncurses.so.6: undefined reference to _nc_safe_strcpy@NCURSES6_TINFO_5.2.20001021'
> /usr/bin/ld: /usr/lib64/libncurses.so.6: undefined reference to _nc_name_match@NCURSES6_TINFO_5.0.19991023' /usr/bin/ld: /usr/lib64/libncurses.so.6: undefined reference to wtimeout@NCURSES6_TINFO_5.0.19991023'
> /usr/bin/ld: /usr/lib64/libncurses.so.6: undefined reference to `_nc_doalloc@NCURSES6_TINFO_5.0.19991023'
>
> In Rawhide the ncurses libs are at 6.3-4.20221126, while f37 is 6.3-3.20220501. I recall seeing some messages go by related to ncurses on the list here regarding the -compat library, but I’m not sure if that’s related to my issue. It seems weird that some of the functions it’s unable to find are part of the library (e.g. wtimeout is a valid function, according to the man pages).
>
> Could there be something weird with rawhide’s copy of ncurses or was there some big update that removed all these functions?
>
> Thanks!
>
> Ron

I think the error message is misleading.  Notice that there is no
-lncurses in that link command.  I think it is telling you that there
are references to symbols in libncurses that haven't been resolved.
Indeed, manually adding -lncurses to the link line dramatically
shrinks the number of errors and makes it complain about libform and
libpanel instead.  Adding this:

-lncurses -lform -lpanel

just before -ltinfo results in a successful link.  I don't know why
you suddenly need to link against libncurses, libform, and libpanel
when libtinfo was enough previously.
--
Jerry James
http://www.jamezone.org/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux