Ah, I accidentally copied /media/root/lib (which is linked to /usr/lib) and not /media/root/usr/lib...
So, I copied all libraries from Lakka to /storage/retroarch/lib, now it can find the libs. First I got the error message:
Code
Mar 07 23:27:28 libreelec systemd[1]: Starting retroarch.service...
Mar 07 23:27:28 libreelec systemctl[1161]: systemctl: /storage/retroarch/lib/libc.so.6: version `GLIBC_2.38' not found (required by systemctl)
Mar 07 23:27:28 libreelec systemctl[1161]: systemctl: /storage/retroarch/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/systemd/libsystemd-shared-255.so)
Mar 07 23:27:28 libreelec systemctl[1161]: systemctl: /storage/retroarch/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libcrypt.so.2)
Mar 07 23:27:28 libreelec systemd[1]: retroarch.service: Control process exited, code=exited, status=1/FAILURE
Mar 07 23:27:28 libreelec systemctl[1162]: systemctl: /storage/retroarch/lib/libc.so.6: version `GLIBC_2.38' not found (required by systemctl)
Mar 07 23:27:28 libreelec systemctl[1162]: systemctl: /storage/retroarch/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/systemd/libsystemd-shared-255.so)
Mar 07 23:27:28 libreelec systemctl[1162]: systemctl: /storage/retroarch/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libcrypt.so.2)
Mar 07 23:27:28 libreelec systemd[1]: retroarch.service: Control process exited, code=exited, status=1/FAILURE
Mar 07 23:27:28 libreelec systemd[1]: retroarch.service: Failed with result 'exit-code'.
Mar 07 23:27:28 libreelec systemd[1]: Failed to start retroarch.service.
Display More
I then deleted /storage/retroarch/lib/libc.so.6 (so it now uses /usr/lib/libc.so.6 from Libreelec).
Now, journalctl says:
Code
Mar 07 23:54:19 libreelec systemd[1]: Starting retroarch.service...
Mar 07 23:54:19 libreelec systemd[1]: Stopping kodi.service...
Mar 07 23:54:22 libreelec systemd[1]: kodi.service: Deactivated successfully.
Mar 07 23:54:22 libreelec systemd[1]: Stopped kodi.service.
Mar 07 23:54:22 libreelec systemd[1]: kodi.service: Consumed 15.143s CPU time.
Mar 07 23:54:22 libreelec systemd[1]: Started retroarch.service.
Mar 07 23:54:22 libreelec systemd[1]: retroarch.service: Main process exited, code=exited, status=1/FAILURE
Mar 07 23:54:22 libreelec systemd[1]: Starting kodi.service...
Mar 07 23:54:22 libreelec systemd[1]: Started kodi.service.
Mar 07 23:54:22 libreelec systemd[1]: retroarch.service: Failed with result 'exit-code'.
Mar 07 23:54:22 libreelec (kodi.sh)[1183]: kodi.service: Referenced but unset environment variable evaluates to an empty string: KODI_DEBUG
Mar 07 23:54:23 libreelec kodi.sh[1202]: libva info: VA-API version 1.20.0
Mar 07 23:54:23 libreelec kodi.sh[1202]: libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
Mar 07 23:54:23 libreelec kodi.sh[1202]: libva info: Found init function __vaDriverInit_1_20
Mar 07 23:54:23 libreelec kodi.sh[1202]: libva error: /usr/lib/dri/iHD_drv_video.so init failed
Mar 07 23:54:23 libreelec kodi.sh[1202]: libva info: va_openDriver() returns 1
Mar 07 23:54:23 libreelec kodi.sh[1202]: libva info: Trying to open /usr/lib/dri/i965_drv_video.so
Mar 07 23:54:23 libreelec kodi.sh[1202]: libva info: Found init function __vaDriverInit_1_20
Mar 07 23:54:23 libreelec kodi.sh[1202]: libva info: va_openDriver() returns 0
Display More
Do you have any other hints?
BTW, ldd still complains about missing libGL.