New Install on Fedora 42

Linux specific forum
PBlinux
New User
New User
Posts: 6
Joined: Sat Nov 01, 2025 11:04 am

New Install on Fedora 42

Post by PBlinux »

I am a first time user of PureBasic. I installed PureBasic on a Fedora 42 / Plasma PC and I think I have a linker problem. I used the fedora install bash script and all dev and libs requirements are installed. I manually added PureBasic to the path just in case. The UI works fine, some examples run fine and some just generate an error message shown below.

Error is:
PureBasic - Linker error
/usr/bin/Id: cannot find -IXxf86vm: No such file or directory
collect2: error: Id returned 1 exit status

I also get a Compiler Linker Error! on the UI.

Anyone know what is causing this error. I can send along more info about the system if needed.
User avatar
mk-soft
Always Here
Always Here
Posts: 6402
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: New Install on Fedora 42

Post by mk-soft »

Wellcome !

I haven't tested it, but it should work.

Link: viewtopic.php?p=551829#p551829
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
PBlinux
New User
New User
Posts: 6
Joined: Sat Nov 01, 2025 11:04 am

Re: New Install on Fedora 42

Post by PBlinux »

Are there dependencies on SpiderBasic being installed? Are there specific Debian/Ubuntu libs outside of the ones requested in the install script that are needed?
User avatar
mk-soft
Always Here
Always Here
Posts: 6402
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: New Install on Fedora 42

Post by mk-soft »

For Linux x64 you must also take the Ubuntu version. Probably the you Ubuntu 20.04-22.04 because of the kernel version.

I myself use Mint Linux LMDE 6.
The information when downloading PureBasic refers to which system of Fred it compiler and tested. Not that it doesn't work on other systems.
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
User avatar
mk-soft
Always Here
Always Here
Posts: 6402
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: New Install on Fedora 42

Post by mk-soft »

PBlinux wrote: Sat Nov 01, 2025 11:32 am Are there dependencies on SpiderBasic being installed? Are there specific Debian/Ubuntu libs outside of the ones requested in the install script that are needed?
No,
SpiderBasic is Java and PureBasic is native OS API
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
PBlinux
New User
New User
Posts: 6
Joined: Sat Nov 01, 2025 11:04 am

Re: New Install on Fedora 42

Post by PBlinux »

I am using PureBasic free for Linux Ubuntu 24.04 (x64 - 64-bit) . I choose this because I am using a very recent kernel 6.17.5 so assumed I should use a more modern Ubuntu release. Should I pick an older one Ubuntu 20.04-22.04?
User avatar
moulder61
Enthusiast
Enthusiast
Posts: 211
Joined: Sun Sep 19, 2021 6:16 pm
Location: U.K.

Re: New Install on Fedora 42

Post by moulder61 »

@PBlinux

If you install PB on any OS that's not Debian/Ubuntu based, there might be some tweaking required.

Assuming you're using the relevant version of PB, which it sounds like you are, then it's often a case of the package name being slightly different and/or needing the -dev/-devel package too.

I mostly use Void Linux, and I looked through some notes I took when trying to get PB running on Void, to see if I could find the error you are getting.

According to what I wrote, installing gtk+3-devel fixed that error. Whether that is the same in Fedora I have no idea?

Good luck,

Moulder.
"If it ain't broke, fix it until it is!

This message is brought to you thanks to SenselessComments.com

My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
User avatar
TI-994A
Addict
Addict
Posts: 2760
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: New Install on Fedora 42

Post by TI-994A »

PBlinux wrote: Sat Nov 01, 2025 11:58 am I am using PureBasic free for Linux Ubuntu 24.04 (x64 - 64-bit)...
Hi @PBlinux. Ubuntu 24 should be fine. I've successfully installed it on v25.04 with the v6.14 kernel.

Please do note that for ARM machines, the Raspberry PI versions are recommended.
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel :D
User avatar
mk-soft
Always Here
Always Here
Posts: 6402
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: New Install on Fedora 42

Post by mk-soft »

I don't know if my developer install instruction for Fedora is complete.
Maybe someone can expand these so that they can correct the instructions.

Link: Simple install of PureBasic (Fedora)
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
User avatar
mk-soft
Always Here
Always Here
Posts: 6402
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: New Install on Fedora 42

Post by mk-soft »

AZJIO wrote: Sat Nov 01, 2025 3:20 pm viewtopic.php?p=582280&hilit=Fedora#p582280
Is the same
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
PBlinux
New User
New User
Posts: 6
Joined: Sat Nov 01, 2025 11:04 am

Re: New Install on Fedora 42

Post by PBlinux »

Well, worked my way through the postings. I think all required components needed are installed with the exception of some Ubuntu specific libs.

This is a great looking app with lots of cool features but it seems to be tied to closely to Ubuntu. I had suspected this when I started the install but I have not had any real trouble getting anything else to run on Fedora so was hoping I would just need a missing lib or three. I suspect it is some naming issues but no clues from the error messages, other than it may relate to the linking process not finding something it expects or something at some specific location. Nothing solid to look for.

Guess I will have to wait for someone to discover what PB is looking for that triggers the error message.

Thanks
PBlinux
New User
New User
Posts: 6
Joined: Sat Nov 01, 2025 11:04 am

Re: New Install on Fedora 42

Post by PBlinux »

I did notice one odd thing:

/usr/bin/Id: cannot find -IXxf86vm: is the error. I have some libs with similar names...

Package "libXxf86vm-1.1.6-2.fc42.x86_64" is already installed.
Package "libXxf86vm-1.1.6-2.fc42.i686" is already installed.

Could there be a bug where the "ib" in lib is missing in the linker call?
User avatar
moulder61
Enthusiast
Enthusiast
Posts: 211
Joined: Sun Sep 19, 2021 6:16 pm
Location: U.K.

Re: New Install on Fedora 42

Post by moulder61 »

@PBlinux,

Did you try installing gtk+3-devel(or whatever that might be named in Fedora?) as I suggested in my previous post?

I'll drop the text file with the notes I took, when getting it running in Void, in the pCloud link in my signature. It's called "PBdependencies" if you want to look at it?

In case some of the text looks a bit weird, I was making a version of the Snake game and trying to get that to run. :oops:

It's not very well formatted, but you should be able to see, from the beginning, the errors I got and what I installed to fix them.

Again, the packages names in Fedora will probably be slightly differently named, so you'll have to work that bit out yourself. :D

Moulder.
"If it ain't broke, fix it until it is!

This message is brought to you thanks to SenselessComments.com

My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
User avatar
mk-soft
Always Here
Always Here
Posts: 6402
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: New Install on Fedora 42

Post by mk-soft »

There are no dependencies on Ubuntu. It also runs a pure Debian system for me.
I'm installing Fedora 43 with me. The Fedora 42 is not available in the Older directory.
Takes a while ...
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
Post Reply