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

Linking error on linux #61

Closed
caropf opened this issue Apr 23, 2020 · 3 comments · May be fixed by #62
Closed

Linking error on linux #61

caropf opened this issue Apr 23, 2020 · 3 comments · May be fixed by #62

Comments

@caropf
Copy link

caropf commented Apr 23, 2020

I get the following linking error when trying to build ORCA-C:

/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /tmp/orca.77MRyA.ltrans0.ltrans.o: undefined reference to symbol 'keypad'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfow.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

This can be solved by linking against tinfow:
0001-fix-linking-error.txt

@cancel
Copy link
Collaborator

cancel commented Apr 23, 2020

I don't know what this is. I don't want to merge it without testing on all other platforms (BSDs, Mac, mingw, cygwin) and other Linux distros because it might break compilation.

@cancel
Copy link
Collaborator

cancel commented Oct 15, 2020

I guess libtinfo can be split out from ncurses. In order to make the tool build script robust against this, we'd need to use pkg-config, which opens up a can of worms. (Like we would have to special-case its use on Mac, because homebrew's libncursesw won't show up in it, I think... and I know there are other things I can't think of off the top of my head.)

@cancel
Copy link
Collaborator

cancel commented Nov 12, 2020

Fixed by 9074100

@cancel cancel closed this as completed Nov 12, 2020
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

Successfully merging a pull request may close this issue.

2 participants