So I went back to the pcsx2_container and copied the library to my home directory. In the container, the libOpenGL.so.0 is a simbolic link to libOpenGL.so.0.0.0.
The legacy memory cards folder is only used if Mcd001.ps2 and/or Mcd002.ps2 is detected in retroarch/system/pcsx2/memcards/ and the "Memory Card: Slot N" core option is set to "Legacy".
This can be useful if you were using an older version of the core that didn't use the saves folder yet, or if you transferred the memcards folder directly from standalone.
resolving dependencies...looking for conflicting packages...error: failed to prepare transaction (could not satisfy dependencies):: installing fmt (10.0.0-1) breaks dependency 'libfmt.so=9-64' required by pcsx2
760c119bf3