Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:06 13 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MMBASIC on the Raspberry Pi 4

Author Message
cdeagle
Senior Member

Joined: 22/06/2014
Location: United States
Posts: 266
Posted: 03:32pm 02 Jul 2019
Copy link to clipboard 
Print this post

I tried to run the 2019-05-05_211935_mmbasic on a 1GB Raspberry Pi 4. When I extracted the file, did a chmod +x mmbasic and then sudo ./mmbasic, I get the following error

./mmbasic: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
 
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2171
Posted: 04:28pm 02 Jul 2019
Copy link to clipboard 
Print this post

there is a lot of changes from stretch - loads of complaints about broken apps out there
 
goc30

Guru

Joined: 12/04/2017
Location: France
Posts: 435
Posted: 05:38pm 02 Jul 2019
Copy link to clipboard 
Print this post

Hi all

I wait my rpi4
I think that first pb is the 2_screens driver
in doc they said that you cannot use an old strech sdcard

cdeagle
have-you tried mmbasic in "root" directly (not through kde)?
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4135
Posted: 10:08am 03 Jul 2019
Copy link to clipboard 
Print this post

  cdeagle said   I tried to run the 2019-05-05_211935_mmbasic on a 1GB Raspberry Pi 4. When I extracted the file, did a chmod +x mmbasic and then sudo ./mmbasic, I get the following error

./mmbasic: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory


If there is a different libncurses.so then try making a symbolic link to it using the unfound name (libncurses.so.5 in this case).

If there's no libncurses.so then install the relevant package (ncurses, looks like).

Not ideal but often works (not needed if mmbasic is rebuilt).

For non-Linux users: usually in this sort of situation you'd have a package for mmbasic you could just install or failing that just download the source and build it (essentially using ./configure && make && sudo make install).

(I'd try it if I had an RPi4.)

JohnEdited by JohnS 2019-07-04
 
cdeagle
Senior Member

Joined: 22/06/2014
Location: United States
Posts: 266
Posted: 10:59am 03 Jul 2019
Copy link to clipboard 
Print this post

Re-installed pigpio using Method 1 described at

https://abyz.me.uk/rpi/pigpio/

Now MMBASIC runs on the Raspberry Pi 4. More testing underway .....
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025