Skip to content

缺少动态库,可以打包进来 #36

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

Closed
regalroad opened this issue Feb 20, 2024 · 4 comments
Closed

缺少动态库,可以打包进来 #36

regalroad opened this issue Feb 20, 2024 · 4 comments
Assignees

Comments

@regalroad
Copy link

error while loading shared libraries: libncurses.so.5 : cannot open shared object file: No such file or directory

@thisrabbit
Copy link

The libncurses.so.5 is not a built-in library in some linux destro, for example, WSL ubuntu 20.04, but it can be installed via sudo apt-get install libncurses5.

After the installation, godel can correctly functioning, but I am also facing a new warning:

sparrow-cli/godel-1.0/usr/bin/godel: sparrow-cli/godel-1.0/usr/bin/../lib64/../lib64/libtinfo.so.5: no version information available (required by /lib/x86_64-linux-gnu/libncurses.so.5)

Though this warning seems have no side effects on godel producing results.

@ValKmjolnir
Copy link
Collaborator

The libncurses.so.5 is not a built-in library in some linux destro, for example, WSL ubuntu 20.04, but it can be installed via sudo apt-get install libncurses5.

After the installation, godel can correctly functioning, but I am also facing a new warning:

sparrow-cli/godel-1.0/usr/bin/godel: sparrow-cli/godel-1.0/usr/bin/../lib64/../lib64/libtinfo.so.5: no version information available (required by /lib/x86_64-linux-gnu/libncurses.so.5)

Though this warning seems have no side effects on godel producing results.

I've checked that soufflé project uses ncurses.h in its source file src/include/provenance/Explain.h:

#ifdef USE_NCURSES
#include <ncurses.h>
#endif

And we could choose to compile soufflé without using this header and the shared library. We will deal with this later, then there's no need to load libncurses.so.5.

@ValKmjolnir
Copy link
Collaborator

Source code of godel-script has been merged into main branch.

In the CMakeLists the ncurses compile option is turned off, now the built executables will not need to refer libncurses.so.5.

set(SOUFFLE_USE_CURSES OFF)

@zhouang777
Copy link
Collaborator

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

4 participants