Linux console only app
Linux console only app
Is there a way to compile with out needing GLIBC_2.34 so the console apps will run purely in terminal without needing the GUI present, you know like running the app in init 3
Re: Linux console only app
glibc is a mandatory lib, may be you meant GTK. If you don't use any window/gadget/requester etc. libs it shouldn't use it.
Re: Linux console only app
This is probably my bad, I compiled on Ubuntu 20.04 and ran on rocky Linux 8.5 via putty.
I suspect it's a versioning issue.
Thanks for the reply!
I suspect it's a versioning issue.
Thanks for the reply!
Re: Linux console only app
Which kernel version does your target system have?
Terminal -> uname -a or hostnamectl
For older kernel versions you must also use an older Purebasic version.
For example:
For kernel version 5.x -> PB v6.04 on linux with kernel 5.x
For kernel version 6.x -> PB v6.12 on linux with kernel 6.x
Terminal -> uname -a or hostnamectl
For older kernel versions you must also use an older Purebasic version.
For example:
For kernel version 5.x -> PB v6.04 on linux with kernel 5.x
For kernel version 6.x -> PB v6.12 on linux with kernel 6.x
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Linux console only app
Linux
PureBasic free for Linux Debian 12 (x86)
PureBasic free for Linux Ubuntu 18.04 (x64)
PureBasic free for Linux Ubuntu 20.04 or 22.04 (x64)
PureBasic free for Linux Ubuntu 24.04 (x64)
In each of these lines, you need to add the glibc version
For code usage outside of the ubuntu/debian ecosystem, this information is more important.
p.s. https://en.wikipedia.org/wiki/Ldd_(Unix) https://linux.die.net/man/1/ldd
PureBasic free for Linux Debian 12 (x86)
PureBasic free for Linux Ubuntu 18.04 (x64)
PureBasic free for Linux Ubuntu 20.04 or 22.04 (x64)
PureBasic free for Linux Ubuntu 24.04 (x64)
In each of these lines, you need to add the glibc version
For code usage outside of the ubuntu/debian ecosystem, this information is more important.
p.s. https://en.wikipedia.org/wiki/Ldd_(Unix) https://linux.die.net/man/1/ldd
Dawn will come inevitably.
Re: Linux console only app
Cool, I made the mistake of compiling a gui version that "just worked" switching between versions (but that was using RHL v9).
I then made the assumption terminal (console) apps would just work without requiring any external library's (it was just one line printN("hello world") )
I have a few different varieties of linux at work and wanted an easy way to move terminal apps between versions, I'll look at getting rpm's to fill the gaps on the RHEL flavors.
I then made the assumption terminal (console) apps would just work without requiring any external library's (it was just one line printN("hello world") )
I have a few different varieties of linux at work and wanted an easy way to move terminal apps between versions, I'll look at getting rpm's to fill the gaps on the RHEL flavors.