downloaded the X11 Basic .deb package, installed it (via clicking on it, gdebi-gtk, this installed 10 additional files - see screenshot - but apparently not the one in the error message), created hello.bas file
PRINT "Hello"
PAUSE 10
END
opened terminal
xbasic hello.bas
and got
me@me-820-G2:~$ xbasic hallo.bas
xbasic: error while loading shared libraries: libreadline.so.8: cannot open shared object file: No such file or directory
any hints? do i have to set a directory? close other windows?
thanks in advance
Hi me, It looks like the libreadline is missing. Usually this can be installed from the readline package. But it needs to be the correct version (8). Older linux distributions come with the Version 7 of readline. This X11-basic package needs Version 8.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2022-02-07
Hello Markus, its me :)
thanks a lot for your really timely and helpful reply!
after posting, i have been reading in the linux section of this discussion board and found similar posts. Linux Mint 19.3 (from 2019, i guess? Support until April 2023) offers libreadline.so.5 and libreadline.so.7, as you assumed. So it seems like I have to check out Linux Mint 20.3. (current release as of February 2022).
BTW, is there a possibility to link X11 Basic against a version independent libreadline.so ?
thanks a lot again! I have X11 Basic installed on my Android phone and it's great!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes it is possible. However you would need to compile X11-Basic from the sources.
Maybe you can create a fake libreadline.so.7 which is a copy of .8. but I do not know if that works.
BTW: Olter versions of X11-Basic have the libreadline.so.7 as requirements. Try old .deb files from the time, .7 was most recent. (however you would get an old version of X11-Basic, thats not so good).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
downloaded the X11 Basic .deb package, installed it (via clicking on it, gdebi-gtk, this installed 10 additional files - see screenshot - but apparently not the one in the error message), created hello.bas file
PRINT "Hello"
PAUSE 10
END
opened terminal
xbasic hello.bas
and got
me@me-820-G2:~$ xbasic hallo.bas
xbasic: error while loading shared libraries: libreadline.so.8: cannot open shared object file: No such file or directory
any hints? do i have to set a directory? close other windows?
thanks in advance
Hi me, It looks like the libreadline is missing. Usually this can be installed from the readline package. But it needs to be the correct version (8). Older linux distributions come with the Version 7 of readline. This X11-basic package needs Version 8.
Hello Markus, its me :)
thanks a lot for your really timely and helpful reply!
after posting, i have been reading in the linux section of this discussion board and found similar posts. Linux Mint 19.3 (from 2019, i guess? Support until April 2023) offers libreadline.so.5 and libreadline.so.7, as you assumed. So it seems like I have to check out Linux Mint 20.3. (current release as of February 2022).
BTW, is there a possibility to link X11 Basic against a version independent libreadline.so ?
thanks a lot again! I have X11 Basic installed on my Android phone and it's great!
Yes it is possible. However you would need to compile X11-Basic from the sources.
Maybe you can create a fake libreadline.so.7 which is a copy of .8. but I do not know if that works.
BTW: Olter versions of X11-Basic have the libreadline.so.7 as requirements. Try old .deb files from the time, .7 was most recent. (however you would get an old version of X11-Basic, thats not so good).