4.3 Upgrade Error with Emulation Station
-
Hello,
I had been running RetroPie 4.2 successfully for a while and decided to upgrade to 4.3 this weekend. I followed the normal process by running retropie_setup.sh and updating all installed packages. After rebooting, I noticed Emulationstation fails to launch with the following error message:
/opt/retropie/supplementary/emulationstation/emulationstation: error while loading shared libraries: libbrcmEGL.so: cannot open shared object file: No such file or directory
I found a clue in that the naming of this file may have changed so in /opt/vc/lib I made copies of the following files:
libbrcmEGL.so and libEGL.so
libbrcmOpenVG.so and libOpenVG.so
libbrcmGLESv2.so and libGLESv2.so
(This seemed like an ugly fix)This allowed ES to launch, but now games will not start and dumps me right back into ES. Log file shows the following which doesn't seem to give much to work from:
lvl2: req sound [detailed.launch]
lvl2: (missing)
lvl2: Attempting to launch game...
lvl2: /opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS snes /home/pi/RetroPie/roms/snes/Chrono\ Trigger.smc
lvl2: Creating surface...
lvl2: Created window successfully.
lvl2: Added known joystick PLAYSTATION(R)3 Controller (instance ID: 0, device index: 0)
lvl2: Added known joystick PLAYSTATION(R)3 Controller (instance ID: 0, device index: 0)Any other thoughts/suggestions?
Thanks!
-
Upgrade your OS with
sudo apt-get update && sudo apt-get upgrade
. These new files are handled by the recent OS upgrades in Raspbian, particularly thelibraspberrypi0
package. -
@mitu said in 4.3 Upgrade Error with Emulation Station:
Upgrade your OS with
sudo apt-get update && sudo apt-get upgrade
. These new files are handled by the recent OS upgrades in Raspbian, particularly thelibraspberrypi0
package.I removed my copied files from /opt/vc/lib and did the update & upgrade, but unfortunately still came back with the "libbrcmEGL.so: cannot open shared object file:" error.
-
@laephis What's the output of
dpkg -L libraspberrypi0
? It should list the new files in/opt/vc
. How did you install the system - are you running on Raspbian Jessie or an older system ? -
@mitu said in 4.3 Upgrade Error with Emulation Station:
@laephis What's the output of
dpkg -L libraspberrypi0
? It should list the new files in/opt/vc
. How did you install the system - are you running on Raspbian Jessie or an older system ?Here's the output:
pi@retropie ~ $ dpkg -L libraspberrypi0
/.
/lib
/lib/udev
/lib/udev/rules.d
/lib/udev/rules.d/10-local-rpi.rules
/etc
/etc/ld.so.conf.d
/etc/ld.so.conf.d/00-vmcs.conf
/opt
/opt/vc
/opt/vc/lib
/opt/vc/lib/libmmal_core.so
/opt/vc/lib/libvcsm.so
/opt/vc/lib/libEGL.so
/opt/vc/lib/libbcm_host.so
/opt/vc/lib/libmmal_vc_client.so
/opt/vc/lib/libWFC.so
/opt/vc/lib/libopenmaxil.so
/opt/vc/lib/libvchiq_arm.so
/opt/vc/lib/libmmal_util.so
/opt/vc/lib/libmmal.so
/opt/vc/lib/libvcos.so
/opt/vc/lib/libmmal_components.so
/opt/vc/lib/libdebug_sym.so
/opt/vc/lib/libOpenVG.so
/opt/vc/lib/libGLESv2.so
/opt/vc/lib/plugins
/opt/vc/lib/plugins/plugins
/opt/vc/lib/plugins/plugins/reader_ps.so
/opt/vc/lib/plugins/plugins/reader_rtsp.so
/opt/vc/lib/plugins/plugins/writer_binary.so
/opt/vc/lib/plugins/plugins/writer_dummy.so
/opt/vc/lib/plugins/plugins/writer_mp4.so
/opt/vc/lib/plugins/plugins/reader_raw_video.so
/opt/vc/lib/plugins/plugins/reader_flv.so
/opt/vc/lib/plugins/plugins/reader_simple.so
/opt/vc/lib/plugins/plugins/writer_simple.so
/opt/vc/lib/plugins/plugins/reader_binary.so
/opt/vc/lib/plugins/plugins/writer_raw_video.so
/opt/vc/lib/plugins/plugins/reader_mpga.so
/opt/vc/lib/plugins/plugins/reader_mkv.so
/opt/vc/lib/plugins/plugins/reader_rtp.so
/opt/vc/lib/plugins/plugins/reader_rv9.so
/opt/vc/lib/plugins/plugins/reader_qsynth.so
/opt/vc/lib/plugins/plugins/reader_mp4.so
/opt/vc/lib/plugins/plugins/reader_asf.so
/opt/vc/lib/plugins/plugins/writer_avi.so
/opt/vc/lib/plugins/plugins/reader_avi.so
/opt/vc/lib/plugins/plugins/reader_metadata_id3.so
/opt/vc/lib/plugins/plugins/reader_wav.so
/opt/vc/lib/plugins/plugins/reader_rcv.so
/opt/vc/lib/libcontainers.so
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libraspberrypi0
/usr/share/doc/libraspberrypi0/README
/usr/share/doc/libraspberrypi0/copyright
/usr/share/doc/libraspberrypi0/changelog.Debian.gz
/opt/vc/lib/libGLESv1_CM.soSo yeah, unfortunately still using the old files. I'm running Jessie:
pi@retropie ~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"Thanks for your help and suggestions so far.
-
@laephis said in 4.3 Upgrade Error with Emulation Station:
So yeah, unfortunately still using the old files. I'm running Jessie:
You don't have the latest package, which is why you're still receiving the errors. Are you sure the upgrade operation has completed succesfully ?
What is the content of/etc/apt/sources.list
? Mine hasdeb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi firmware
and the new version of the library is automatically upgraded.
-
@mitu said in 4.3 Upgrade Error with Emulation Station:
@laephis said in 4.3 Upgrade Error with Emulation Station:
So yeah, unfortunately still using the old files. I'm running Jessie:
You don't have the latest package, which is why you're still receiving the errors. Are you sure the upgrade operation has completed succesfully ?
What is the content of/etc/apt/sources.list
? Mine hasdeb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi firmware
and the new version of the library is automatically upgraded.
pi@retropie ~ $ cat /etc/apt/sources.list deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi deb http://archive.itimmer.nl/raspbian/moonlight jessie main
Update and upgrade ran successfully, and I just tried them again to confirm. I can add firmware to the sources, but not sure if that would have any impact on my current issue.
-
You should use apt-get dist-upgrade not upgrade btw. Or update system packages from update option in RetroPie-setup.
-
Thanks - I finally got it figured out. I had been overlooking the files in sources.list.d/ and noticed that both collabora.list and raspi.list had wheezy listed. Changed them to jessie, re-ran the update/upgrade process and things started working - except sound. I also had to add dtparam=audio=on to my config.txt file for some reason, even though that had been fine previously without it.
Anyway, thanks again for the help working through this problem. <3 RetroPie.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.