About the error ibGLESv2.so.2: cannot open shared object file: No such file or directory
Unsolved
General and Desktop
-
wrote on 2 Jun 2022, 08:13 last edited by IknowQT 6 Mar 2022, 01:47
I built a cross-compilation environment in the existing OS and was using it well, but due to some problem, I had to reinstall the OS.
Since we have already built a cross-compilation environment once in Ubuntu, we only proceeded with this process on Raspberry Pi.
sudo vi /etc/apt/sources.list sudo apt update sudo apt full-upgrade sudo reboot sudo rpi-update sudo reboot sudo apt-get build-dep qt5-qmake -y sudo apt-get build-dep libqt5webengine-data -y sudo apt-get install libboost1.58-all-dev libudev-dev libinput-dev libts-dev libmtdev-dev libjpeg-dev libfontconfig1-dev -y sudo apt-get install libssl-dev libdbus-1-dev libglib2.0-dev libxkbcommon-dev libegl1-mesa-dev libgbm-dev libgles2-mesa-dev mesa-common-dev -y sudo apt-get install libasound2-dev libpulse-dev gstreamer1.0-omx libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-alsa -y sudo apt-get install libvpx-dev libsrtp0-dev libsnappy-dev libnss3-dev -y sudo apt-get install "^libxcb.*" -y sudo apt-get install flex bison libxslt-dev ruby gperf libbz2-dev libcups2-dev libatkmm-1.6-dev libxi6 libxcomposite1 -y sudo apt-get install libfreetype6-dev libicu-dev libsqlite3-dev libxslt1-dev libavcodec-dev libavformat-dev libswscale-dev -y sudo apt-get install libgstreamer0.10-dev gstreamer-tools libraspberrypi-dev libx11-dev libglib2.0-dev -y sudo apt-get install freetds-dev libsqlite0-dev libpq-dev libiodbc2-dev firebird-dev libjpeg9-dev libgst-dev libxext-dev libxcb1 libxcb1-dev libx11-xcb1 -y sudo apt-get install libx11-xcb-dev libxcb-keysyms1 libxcb-keysyms1-dev libxcb-image0 libxcb-image0-dev libxcb-shm0 libxcb-shm0-dev libxcb-icccm4 libxcb-icccm4-dev -y sudo apt-get install libxcb-sync1 libxcb-sync-dev libxcb-render-util0 libxcb-render-util0-dev libxcb-xfixes0-dev libxrender-dev libxcb-shape0-dev libxcb-randr0-dev -y sudo apt-get install libxcb-glx0-dev libxi-dev libdrm-dev libssl-dev libxcb-xinerama0 libxcb-xinerama0-dev -y sudo apt-get install libatspi-dev libssl-dev libxcursor-dev libxcomposite-dev libxdamage-dev libfontconfig1-dev -y sudo apt-get install libxss-dev libxtst-dev libpci-dev libcap-dev libsrtp0-dev libxrandr-dev libnss3-dev libdirectfb-dev libaudio-dev -y sudo mkdir /usr/local/qt5pi sudo chown pi:pi /usr/local/qt5pi rsync -avz --rsync-path="sudo rsync" sysroot/usr/local/qt5pi pi@111.111.111.111:/usr/local
An error occurs when deploying after build in qt creator, and this error occurs.
/home/pi/Desktop/POP/MainWidget: error while loading shared libraries: libGLESv2.so.2: cannot open shared object file: No such file or directory 16:51:32: Application finished with exit code 127.
I'd appreciate it if you could tell me how to fix this problem.
-
wrote on 2 Jun 2022, 14:01 last edited by
Check this out
https://forums.raspberrypi.com/viewtopic.php?t=191857
1/2