Hi,
(I put my question here as I find more RPI topics here and ... (I don't understand that C- backend word/terminlogy)
My PureBasic-Raspberry PI installation job untill now.
How to run the PB-examples on the Raspberry PI ?
I extracted this download PureBasic 6.00 Beta 1 for Raspberry (Raspberry OS - arm32)on my Raspberry PI. In a new folder called : PureBasic
I ran these in the terminal :
sudo apt-get install build-essential gcc g++
sudo apt-get install libxxf86vm-dev libxine2-dev unixodbc-dev libsdl1.2-dev libsdl2-dev
sudo apt-get install libgtk2.0-dev libgtk-3-dev
And later on also, this one in the terminal :
sudo apt-get install gcc g++ libc6-dev libsdl1.2-dev libgtk-3-dev unixodbc-dev libxine2-dev libxxf86vm-dev libwebkit2gtk-4.0-dev libssl-dev libqt5webkit5-dev qtmultimedia5-dev libqt5svg5-dev
I ran also these :
checkinstall.sh
launch.sh
register.sh
Tried to run the canvas exmaple by clicking on it. Nothing happens.
Trying this to get purebasic started :
Type "./purebasic" from inside the "compilers" folder, or doubleclick *Doesn't do anything
on the "purebasic" executable file in your file manager. *Doesn't do anything
Trying this to get it started :
pi@raspberrypi:~ $ export PUREBASIC_HOME=~/pi/purebasic
pi@raspberrypi:~ $ export PATH=$PUREBASIC_HOME/compilers:/home/pi/purebasic/compilers
And thereafter :
pi@raspberrypi:~ $ purebasic
the same message in the terminal :
purebasic: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.29' not found (required by purebasic)
How can I fix this (quit a beginner) ?
Thanks
Raspberry PI needs the GLIBC_2.29 ?
Raspberry PI needs the GLIBC_2.29 ?
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
-
- Enthusiast
- Posts: 125
- Joined: Wed May 20, 2020 5:19 pm
- Location: The 3rd planet in the Solar System
- Contact:
Re: Raspberry PI needs the GLIBC_2.29 ?
U need latest RP OS
https://www.purebasic.fr/english/viewtopic.php?t=78295
https://www.purebasic.fr/english/viewtopic.php?t=78295
Mac Studio M1Max, PB 6.03Arm64 and x64.
Macbook Air M2, PB 6.03Arm64 and x64.
Windows 10, PB 6.03 x64 and x86.
Macbook Air M2, PB 6.03Arm64 and x64.
Windows 10, PB 6.03 x64 and x86.
Re: Raspberry PI needs the GLIBC_2.29 ?
I had the same problem. I was using the latest version of Raspbian which still uses GLIBC_2.28. But Fred explicitly states that Raspberry Pi OS is necessary (which uses GLIBC_2.29):
So I took a new micro SD card, installed Raspberry Pi OS on it (using the Raspberry Pi imager), booted my Raspberry Pi 400 from that card, installed PureBasic 6.00 Beta 1 and it worked like a charm (after installing several additional libraries like described above)!Fred wrote:- Brand new Raspberry version ! You need to install Raspberry OS to use it, which should run on any Raspberry PI (used a PI 2 for the build)
Re: Raspberry PI needs the GLIBC_2.29 ?
The bugs forum is not for questions. I have created a new subforum for Raspberry PI questions and moved the topic.
quidquid Latine dictum sit altum videtur
-
- Addict
- Posts: 1443
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: Raspberry PI needs the GLIBC_2.29 ?
This error also appeared.
I think need to use GLIBC_2.28 for compatibility with previous versions of the OS. I checked the previous version of Raspberry Pi OS 2021-03-04 use library Glibc_2.28.
That is, PB (and applications compiled in it) work only in the current version OS Raspberry Pi OS 2021-10-30.
Here are the previous versions Raspberry Pi OS. https://downloads.raspberrypi.org/raspios_armhf/images/
It would be nice if PB would work on all of them.
Here Raspbian https://downloads.raspberrypi.org/raspbian/images/
I think need to use GLIBC_2.28 for compatibility with previous versions of the OS. I checked the previous version of Raspberry Pi OS 2021-03-04 use library Glibc_2.28.
That is, PB (and applications compiled in it) work only in the current version OS Raspberry Pi OS 2021-10-30.
Here are the previous versions Raspberry Pi OS. https://downloads.raspberrypi.org/raspios_armhf/images/
It would be nice if PB would work on all of them.
Here Raspbian https://downloads.raspberrypi.org/raspbian/images/
Re: Raspberry PI needs the GLIBC_2.29 ?
A bit strange that the version I had will be the problem as itb was not that lately installed.
A few months ago. Besides trying to fix the PB-problem, I also did a sudo apt-get full upgrade.
Yet no change. So I'm gonna get me a new SD card and install from scratch that latest os.
If all works, I'll be happily busy for a while.
Thanks all.
A few months ago. Besides trying to fix the PB-problem, I also did a sudo apt-get full upgrade.
Yet no change. So I'm gonna get me a new SD card and install from scratch that latest os.
If all works, I'll be happily busy for a while.
Thanks all.
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
-
- Addict
- Posts: 1443
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: Raspberry PI needs the GLIBC_2.29 ?
Сurrent version of the Raspios 2021-10-30 is very slowly working on boards with 512 MB of RAM. When starting the OS, 380 MB RAM is used, from 450 MB available.
Need to used the previous version 2020-08-20 (250 MB RAM is used, from 450 MB available) or previous, but the PB does not work on it.
Need to used the previous version 2020-08-20 (250 MB RAM is used, from 450 MB available) or previous, but the PB does not work on it.
Re: Raspberry PI needs the GLIBC_2.29 ?
Got me a new SD card and installed that latest os (and did those other sudo's stated above).
It works great.
It works great.
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
-
- Addict
- Posts: 1443
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: Raspberry PI needs the GLIBC_2.29 ?
I was able to run PB.
The solution is very simple - replace the libm.so.6 file and copy the libm-2.31.so file to the folder /lib/arm-linux-gnueabihf/
The files libm.so.6 and libm-2.31.so I took from Raspios_armhf-2021-11-08.
This is a global library replacement and it is applicable to all programs and OS, but a little testing has shown that there is no error.
This is a temporary workaround. Hopefully in PB 6 Beta 2, this error will not appear.