Install libdri2-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libdri2-dev
Description:
library for the DRI2 extension to the X Window System -- development files
This package provides the development environment for libdri2.
Version: 1.0.0~git20120510+26fee2e-0ubuntu2
Section: universe/libdevel