I am trying to make an executable file for the testbench file of an VHDL project (just an halfadder in VHDL). The name of the entity in the testbench file is HALFADDER_TB and, after compiling the vhd file called HALFADDER and the testbench file called HALFADDER_TB, when I type
ghdl -e HALFADDER_TB I get the following error:
/usr/bin/x86_64-linux-gnu-ld: impossibile trovare -lz collect2: error: ld returned 1 exit status ghdl: compilation error
How can I solve? Some libraries missing? Thanks.