Error compiling zcash in Fedora 38

Hi there, I’m trying to run a zcash full node in Fedora 38, and got an error.

An snippet of make process output follows

src/ installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
+ CONFIG_SITE=/home/Development/zcash/depends/x86_64-pc-linux-gnu/share/
+ ./configure --quiet
configure: error: Could not find a version of the Boost::System library!

I’ve double checked and Boost::System library is installed, I’m trying to find why the make fails.

Need some guidance on how to make Boost::System library visible to the makefile process.

Thanks in advance

1 Like

i had same trouble. Firstly i installed boost (dnf install boost-devel), after that, i upgrade zcash with flag (CONFIGURE_FLAGS=“–with-boost-libdir=/usr/lib64” ./zcutil/ -j2)

1 Like


It seems like the configure script is unable to locate the Boost::System library even though it’s installed on your system. This can happen if the library is not in the default search path of the linker or if the pkg-config information is not correctly set up.

Here are a few steps you can try to resolve this issue:

Ensure Boost is Installed: Verify that Boost is indeed installed and note down the path where it is located. You can use the dnf command to check if Boost and its development libraries are installed:
dnf list installed | grep boost

Set BOOST_ROOT: If Boost is installed in a non-standard location, you might need to set the BOOST_ROOT environment variable to point to the root directory of your Boost installation.
Update the Makefile: You may need to manually specify the include path and the library path in your Makefile. Here’s an example of how you can modify the Makefile to include the Boost library paths:
CXXFLAGS += -I/path/to/boost/include
LDFLAGS += -L/path/to/boost/lib -lboost_system
Replace /path/to/boost/include and /path/to/boost/lib with the actual paths to your Boost installation.
Use pkg-config: If Boost provides pkg-config files, you can use them to set the correct flags. Add the following to your Makefile:
CXXFLAGS += (shell pkg-config --cflags boost_system) LDFLAGS += (shell pkg-config --libs boost_system)

Check for Version Mismatch: Ensure that the version of Boost installed is compatible with the one required by the zcash node. Sometimes, a newer or older version of the library might be needed.

This is why the GPT prompts in the browser search bar is nifty because even if it’s wrong (often), then you’re still there where you need to be to find the right answer anyways.