Install libblockdev-loop-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libblockdev-loop-dev
Description:
Loop device plugin for libblockdev - development
This package contains header files and pkg-config files needed for development with the libblockdev-loop plugin/library.
Homepage: https://github.com/storaged-project/libblockdev
Version: 2.16-2
Section: libdevel