Page 4 of 10
Re: PureBasic 6.20 beta 1 is out !
Posted: Fri Dec 13, 2024 2:12 pm
by Ampli
Nice news/update, I can't use it yet, I use Zorin os 17.2 and only have glibc 2.35 and don't know how to update it yet. Need to learn how to do it before I can try PB 6.20. New to Linux so I have alot to learn.
Re: PureBasic 6.20 beta 1 is out !
Posted: Sat Dec 14, 2024 1:54 am
by BarryG
Are the created PureLibraries future-proof? I remember that Tailbite libs broke with new PureBasic versions, so I'm treading with caution now. If I can make a PureLibrary once and never need to re-compile it again in future, then I will be happy. Is that the case?
Re: PureBasic 6.20 beta 1 is out !
Posted: Sat Dec 14, 2024 2:08 am
by PrincieD
BarryG wrote: Sat Dec 14, 2024 1:54 am
Are the created PureLibraries future-proof? I remember that Tailbite libs broke with new PureBasic versions, so I'm treading with caution now. If I can make a PureLibrary once and never need to re-compile it again in future, then I will be happy. Is that the case?
Yes I can say, having worked with Tailbite from the very beginning. The difference now is the 'C' compiler and linker, It's a very easy now I think for Fred and team to create a static lib
Re: PureBasic 6.20 beta 1 is out !
Posted: Sat Dec 14, 2024 2:25 am
by PrincieD
For me personally a PureLibrary version only becomes beneficial when there is unused procedure culling, otherwise DLL - it's still a cool step-forward though
Re: PureBasic 6.20 beta 1 is out !
Posted: Sat Dec 14, 2024 2:48 am
by BarryG
My app is a standalone exe, so I don't want a separate DLL solution (even if it's extracted from the exe to a temp folder that the user never sees).
Re: PureBasic 6.20 beta 1 is out !
Posted: Sat Dec 14, 2024 3:09 am
by PrincieD
BarryG wrote: Sat Dec 14, 2024 2:48 am
My app is a standalone exe, so I don't want a separate DLL solution (even if it's extracted from the exe to a temp folder that the user never sees).
Playing devil's advocate, you can compress and load a DLL from memory (which is attached as resource, or the end of the exe)
Re: PureBasic 6.20 beta 1 is out !
Posted: Sat Dec 14, 2024 3:17 am
by PrincieD
PrincieD wrote: Sat Dec 14, 2024 3:09 am
BarryG wrote: Sat Dec 14, 2024 2:48 am
My app is a standalone exe, so I don't want a separate DLL solution (even if it's extracted from the exe to a temp folder that the user never sees).
Playing devil's advocate, you can compress and load a DLL from memory (which is attached as resource, or the end of the exe)
You can't do this with the old version of ProGUI due to checksum checks but most DLLs I'm sure you can and there is code on the forums
Re: PureBasic 6.20 beta 1 is out !
Posted: Sat Dec 14, 2024 3:56 am
by PrincieD
I think the best copy protection is a sly degradation, start writing into memory addresses over a a byte or so, an absooute nightmare for a cracker
Re: PureBasic 6.20 beta 1 is out !
Posted: Sat Dec 14, 2024 5:18 pm
by deeproot
Ampli wrote: Fri Dec 13, 2024 2:12 pm
Nice news/update, I can't use it yet, I use Zorin os 17.2 and only have glibc 2.35 and don't know how to update it yet. Need to learn how to do it before I can try PB 6.20. New to Linux so I have alot to learn.
@Ampli - I don't use Zorin but I believe your system with glibc 2.35 is enough to run PB 6.20. My regular Linux system has only glibc 2.31 and I just downloaded PB 6.20 b1. It runs fine and successfully compiles my biggest project. My system, MX Linux 21 is based on Debian 11 Bullseye.
I think that Zorin OS is based on Ubuntu and Ubuntu 22 comes with glibc 2.35. So if you use the PureBasic package for Ubuntu 20.04/22.04 or even Ubuntu 18 (but NOT 24.04) then I would expect it to work on Zorin OS 17.2. Make sure all the dependencies are installed, as in the instructions or see the sticky forum post by mk-soft .
My personal opinion only - I would not update the glibc version from the one that came with the installed system, as there is a risk of breaking something!
Re: PureBasic 6.20 beta 1 is out !
Posted: Sat Dec 14, 2024 6:25 pm
by Ampli
@deeproot thanks, It dosen't matter what I try. I get this two lines:
./purebasic: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by ./purebasic)
./purebasic: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./purebasic)
I give up PB on Zorin OS, I have a second computer with windows 11, I'll use that now to try PB 6.20.
Re: PureBasic 6.20 beta 1 is out !
Posted: Sat Dec 14, 2024 10:56 pm
by netmaestro
"
Fred wrote:Added: PureLibrary creation in PureBasic (C Backend only) !
"
YIPPEEE!! Been waiting 20 years for this!
Re: PureBasic 6.20 beta 1 is out !
Posted: Sun Dec 15, 2024 1:14 am
by idle
netmaestro wrote: Sat Dec 14, 2024 10:56 pm
"
Fred wrote:Added: PureLibrary creation in PureBasic (C Backend only) !
"
YIPPEEE!! Been waiting 20 years for this!
join the party
viewtopic.php?p=632167#p632167
Re: PureBasic 6.20 beta 1 is out !
Posted: Sun Dec 15, 2024 12:27 pm
by deeproot
Ampli wrote: Sat Dec 14, 2024 6:25 pm
@deeproot thanks, It dosen't matter what I try. I get this two lines:
./purebasic: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by ./purebasic)
./purebasic: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./purebasic)
I give up PB on Zorin OS, I have a second computer with windows 11, I'll use that now to try PB 6.20.
Something confusing going on here! Please make sure you are executing the right file. If in doubt I would start from scratch, unpacking the PB download into a new directory.
As an experiment I installed from the Purebasic Ubuntu 24.04 file onto my MX 21 system - when attempting to run ./purebasic it produced exactly the same 'GLIBC_2.38 not found' messages as yourself. No surprise - this was as expected on this glibc 2.31 machine.
Moving back to the directory where PB 6.20b1 Ubuntu 20/22 version is installed, I checked the ./purebasic executable file (command: ldd -r -v purebasic | grep libc) and it appears to be built for glibc 2.30 or older. There is no dependency for anything later, which is why it runs fine here and should be good for Zorin 17.2.
Despite occasional challenges PureBasic for Linux has been excellent - hopefully 6.20 will be yet another improvement!
Re: PureBasic 6.20 beta 1 is out !
Posted: Sun Dec 15, 2024 1:48 pm
by Ampli
@deeproot I found why it diden't work.
https://en.wikipedia.org/wiki/Zorin_OS
Zorin OS 17.2 is based on ubuntu 22.04 but updated to 24.04 or something.
When I use PureBasic for 22.04 then it works like a charm, I was fooled to think Zorin 17.2 was 24.04.
Thanks for helping me.
Re: PureBasic 6.20 beta 1 is out !
Posted: Sun Dec 15, 2024 3:07 pm
by akee
Thanks Fred & Team...
