I think I messed up my system.
I'm using the latest ubuntu minimal legacy image, only to use retroarch. I installed the media packages linked on the first post and everything was working fine untill today. I tryed to move some files from an lakka image to /usr/lib/arm-linux-gnueabihf/ and now when starting retroarch I get the error:
retroarch: error while loading shared libraries: libgbm.so.1: cannot open shared object file: No such file or directory
Already tried to reinstall the media packaeges, reinstall libgbm1 via apt-get, but the problem persists. Any way to fix this without a complete clean install?
thank you
EDIT: already solved manually reinstalling the libmali packages. Not sure why rerun the install_media script don't solved this