Page 1 of 2

New Install on Fedora 42

Posted: Sat Nov 01, 2025 11:20 am
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.

Re: New Install on Fedora 42

Posted: Sat Nov 01, 2025 11:31 am
by mk-soft
Wellcome !

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

Link: viewtopic.php?p=551829#p551829

Re: New Install on Fedora 42

Posted: Sat Nov 01, 2025 11:32 am
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?

Re: New Install on Fedora 42

Posted: Sat Nov 01, 2025 11:36 am
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.

Re: New Install on Fedora 42

Posted: Sat Nov 01, 2025 11:42 am
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

Re: New Install on Fedora 42

Posted: Sat Nov 01, 2025 11:58 am
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?

Re: New Install on Fedora 42

Posted: Sat Nov 01, 2025 12:49 pm
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.

Re: New Install on Fedora 42

Posted: Sat Nov 01, 2025 12:51 pm
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.

Re: New Install on Fedora 42

Posted: Sat Nov 01, 2025 1:17 pm
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)

Re: New Install on Fedora 42

Posted: Sat Nov 01, 2025 3:20 pm
by AZJIO

Re: New Install on Fedora 42

Posted: Sat Nov 01, 2025 5:56 pm
by mk-soft
AZJIO wrote: Sat Nov 01, 2025 3:20 pm viewtopic.php?p=582280&hilit=Fedora#p582280
Is the same

Re: New Install on Fedora 42

Posted: Sun Nov 02, 2025 8:38 am
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

Re: New Install on Fedora 42

Posted: Sun Nov 02, 2025 8:56 am
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?

Re: New Install on Fedora 42

Posted: Sun Nov 02, 2025 12:51 pm
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.

Re: New Install on Fedora 42

Posted: Sun Nov 02, 2025 1:07 pm
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 ...