compilig opencpn

Hi,
i try to compile opencpn but i have foolowing error:

/usr/bin/ld: cannot find -ldri2

i try something like apt-get install ldri2

Any ideas ?
Thanks

I finally found the solution
apt-get install x11proto-dri2-dev

or download
http://launchpadlibrarian.net/123825574/libdri2-dev_1.0.0~git20120510+26fee2e-0ubuntu2_armhf.deb
dpkg -i libdri2-dev_1.0.0~git20120510+26fee2e-0ubuntu2_armhf.deb
jack