syg@syg-PC:~$ chmod +x ./st-example-image-qtwayland-openstlinux-weston-stm32mp1-x86_64-toolchain-3.1-snapshot.sh
syg@syg-PC:~$ sudo mkdir /opt/crosstool
[sudo] password for syg:
syg@syg-PC:~$ sudo chown syg.syg /opt/crosstool
syg@syg-PC:~$ ./st-example-image-qtwayland-openstlinux-weston-stm32mp1-x86_64-toolchain-3.1-snapshot.sh
ST OpenSTLinux - Weston - (A Yocto Project Based Distro) SDK installer version 3.1-snapshot
===========================================================================================
Enter target directory for SDK (default: /opt/st/stm32mp1/3.1-snapshot): /opt/crosstool/stm32mp1-qt5
You are about to install the SDK to "/opt/crosstool/stm32mp1-qt5". Proceed [Y/n]? y
Extracting SDK................................................................................................................done
Setting it up...done
SDK has been successfully set up and is ready to be used.
Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g.
$ . /opt/crosstool/stm32mp1-qt5/environment-setup-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi
syg@syg-PC:~$ . /opt/crosstool/stm32mp1-qt5/environment-setup-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi
qmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
qmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
qmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
qmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
syg@syg-PC:~$
syg@syg-PC:~$
syg@syg-PC:~$ source /opt/crosstool/stm32mp1-qt5/environment-setup-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi
qmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
qmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
qmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
qmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
syg@syg-PC:~$ arm-ostl-linux-gnueabi-gcc -v
arm-ostl-linux-gnueabi-gcc: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
syg@syg-PC:~$
syg@syg-PC:~$ uname -a
Linux syg-PC 4.15.0-112-generic #113~16.04.1-Ubuntu SMP Fri Jul 10 04:37:08 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
syg@syg-PC:~$