The latest mesa code reverted to using the wayland libwayland-egl, instead of using their own, so if you are having this error:
error while loading shared
libraries: libwayland-egl.so.1: cannot open shared object file: No such
file or directory
install the following package:
apt install libwayland-egl1
this should fix things for now, mesa is in flux right now with this new change.
sorry for the inconvenience.