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

zcashd fails to build due to missing libtinfo.so.5 #4884

Closed
hdevalence opened this issue Nov 30, 2020 · 1 comment
Closed

zcashd fails to build due to missing libtinfo.so.5 #4884

hdevalence opened this issue Nov 30, 2020 · 1 comment

Comments

@hdevalence
Copy link

Describe the issue

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Check out zcash/zcash
  2. Run ./zcutil/build.sh -j8

Expected behaviour

Zcash builds successfully

Actual behaviour + errors

Fetching boost...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  104M  100  104M    0     0  16.1M      0  0:00:06  0:00:06 --:--:-- 18.8M
/home/hdevalence/code/zcash/zcashd/depends/work/download/boost-1_74_0/boost_1_74_0.tar.bz2.temp: OK
Extracting boost...
/home/hdevalence/code/zcash/zcashd/depends/sources/boost_1_74_0.tar.bz2: OK
Preprocessing boost...
patching file boost/iostreams/detail/config/fpos.hpp
patching file boost/signals2/detail/null_output_iterator.hpp
Configuring boost...
Building Boost.Build engine with toolset gcc... tools/build/src/engine/b2
Unicode/ICU support for Boost.Regex?... disabled.
Generating Boost.Build configuration in project-config.jam for gcc...

Bootstrapping is done. To build, run:

    ./b2
    
To generate header files, run:

    ./b2 headers

To adjust configuration, edit 'project-config.jam'.
Further information:

   - Command line help:
     ./b2 --help
     
   - Getting started guide: 
     http://www.boost.org/more/getting_started/unix-variants.html
     
   - Boost.Build documentation:
     http://www.boost.org/build/

Building boost...
clang++: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
/home/hdevalence/code/zcash/zcashd/depends/work/build/x86_64-pc-linux-gnu/boost/1_74_0-d1db79b8e81/tools/build/src/tools/clang-linux.jam:68: in clang-linux.init
*** argument error
* rule clang.init-cxxstd-flags ( toolset : condition * : version )
* called with: ( clang-linux : <toolset>clang-linux :  )
* missing argument version
/home/hdevalence/code/zcash/zcashd/depends/work/build/x86_64-pc-linux-gnu/boost/1_74_0-d1db79b8e81/tools/build/src/tools/clang.jam:54:see definition of rule 'clang.init-cxxstd-flags' being called
/home/hdevalence/code/zcash/zcashd/depends/work/build/x86_64-pc-linux-gnu/boost/1_74_0-d1db79b8e81/tools/build/src/build/toolset.jam:44: in toolset.using
/home/hdevalence/code/zcash/zcashd/depends/work/build/x86_64-pc-linux-gnu/boost/1_74_0-d1db79b8e81/tools/build/src/tools/clang.jam:33: in clang.init
/home/hdevalence/code/zcash/zcashd/depends/work/build/x86_64-pc-linux-gnu/boost/1_74_0-d1db79b8e81/tools/build/src/build/toolset.jam:44: in toolset.using
/home/hdevalence/code/zcash/zcashd/depends/work/build/x86_64-pc-linux-gnu/boost/1_74_0-d1db79b8e81/tools/build/src/build/project.jam:1104: in using
project-config.jam:12: in modules.load
/home/hdevalence/code/zcash/zcashd/depends/work/build/x86_64-pc-linux-gnu/boost/1_74_0-d1db79b8e81/tools/build/src/build-system.jam:255: in load-config
/home/hdevalence/code/zcash/zcashd/depends/work/build/x86_64-pc-linux-gnu/boost/1_74_0-d1db79b8e81/tools/build/src/build-system.jam:486: in load-configuration-files
/home/hdevalence/code/zcash/zcashd/depends/work/build/x86_64-pc-linux-gnu/boost/1_74_0-d1db79b8e81/tools/build/src/build-system.jam:607: in load
/home/hdevalence/code/zcash/zcashd/depends/work/build/x86_64-pc-linux-gnu/boost/1_74_0-d1db79b8e81/tools/build/src/kernel/modules.jam:295: in import
/home/hdevalence/code/zcash/zcashd/depends/work/build/x86_64-pc-linux-gnu/boost/1_74_0-d1db79b8e81/tools/build/src/kernel/bootstrap.jam:139: in boost-build
/home/hdevalence/code/zcash/zcashd/depends/work/build/x86_64-pc-linux-gnu/boost/1_74_0-d1db79b8e81/boost-build.jam:17: in module scope
make: *** [funcs.mk:247: /home/hdevalence/code/zcash/zcashd/depends/work/build/x86_64-pc-linux-gnu/boost/1_74_0-d1db79b8e81/./.stamp_built] Error 1
make: Leaving directory '/home/hdevalence/code/zcash/zcashd/depends'

Machine specs:

@hdevalence
Copy link
Author

@str4d pointed out that the problem is that F32 packages ncurses 6.x, so the 5.x libraries can't be found (because only the 6.x are present). Installing ncurses-compat-libs resolved the problem.

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