Prerequisites
You will need to install the following tools on your system
scons
Getting the source code
git clone https://git.zephyr-software.com/opensrc/libzafl.git
Building from source
Simply type:
scons
Check to make sure the ZAFL support libraries have been built:
ls lib/lib*.so
# You should see as output:
lib/libautozafl.so lib/libzafl.so
You should then add these libraries to your library path by either copying the libraries directly into /usr/lib:
sudo cp lib/lib*.so /usr/lib/
or by setting your LD_LIBRARY_PATH environment variable:
export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH