Fedora 14 32bit - Installation Problems

Linux specific forum
jacfrosty
User
User
Posts: 21
Joined: Mon May 23, 2005 3:05 pm
Location: England, UK

Fedora 14 32bit - Installation Problems

Post by jacfrosty »

Hi

I can't seem to find any posts regarding getting PureBasic installed and running on Fedora 14 32bit. Is there anyone out there that has achieved this successfully?

I used to run Ubuntu for years and it seem much easier to get it installed and running on that, but I am now forced to use Fedora (Company Policy!).

I have met all the package dependencies and it the IDE works fine, but when I try and compile I get the following error..

Code: Select all

/usr/bin/ld: Gadget.a(Debug.o): undefined reference to symbol 'dlopen@@GLIBC_2.1'
.. and a few more lines much the same.

This is trying to compile the Gadget.pb from the examples directory.

Strange thing is though, I can compile it from the command line..

Any help would be gratefully received.

David.
User avatar
dhouston
Enthusiast
Enthusiast
Posts: 430
Joined: Tue Aug 21, 2007 2:44 pm
Location: USA (Cincinnati)
Contact:

Re: Fedora 14 32bit - Installation Problems

Post by dhouston »

I've seen exactly the same problem beginning with Fedora 13. Where did you find an xinelib package? I never found one for Fedora.
http://davehouston.org
Mac Mini (Intel) 10.6.8 - iMac G4 (PPC) 10.4.11
Dell Dimension 2400 W98SE,W2K,XP,Vista,W7,Debian,Ubuntu,Kubuntu,Xubuntu,Fedora,Mandriva,Mint
(on swappable HDDs)
Vizio VTAB1008 - Android 3.1
MK808 miniAndroidPC (Android 4.1)
jacfrosty
User
User
Posts: 21
Joined: Mon May 23, 2005 3:05 pm
Location: England, UK

Re: Fedora 14 32bit - Installation Problems

Post by jacfrosty »

Yeah, that was the only real other post I could relating directly to this problem, but without any kind of resolve.

Well, the only xine related package I have is: xine-lib-1.1.19-2.fc14.1.i686, and the checkinstall.sh does barf saying that it can't find suitable package for libxine.

But this doesn't appear to be the problem as I can compile the Gadget.pb fine from the command line.

I really would like to sort this as I don't have anyway to go back to Ubuntu.. (which I would love to be able to do..)

It does seem to be something missing with the linking from the GUI..

Thanks.
remi_meier
Enthusiast
Enthusiast
Posts: 468
Joined: Sat Dec 20, 2003 6:19 pm
Location: Switzerland

Re: Fedora 14 32bit - Installation Problems

Post by remi_meier »

I think Fred has to fix this:
http://www.mail-archive.com/devel@lists ... 00726.html
http://code.google.com/p/dolphin-emu/is ... il?id=2820

In the meantime you can try one of the following workarounds
(I cannot test them here):
1. Start the purebasic-executable like this:

Code: Select all

LINKFLAGS=-ldl ./purebasic
This might add the needed library to the linking options

2. Add the following code to your PB files:

Code: Select all

Import "-ldl"
EndImport
Maybe it works, maybe not. I do not have Fedora here.

greetz
remi
Athlon64 3700+, 1024MB Ram, Radeon X1600
jacfrosty
User
User
Posts: 21
Joined: Mon May 23, 2005 3:05 pm
Location: England, UK

Re: Fedora 14 32bit - Installation Problems

Post by jacfrosty »

Hi Remi

Thanks for the reply, most interesting..
First options doesn't seem to work.. but the second certainly does... :D

So, I have to ask if there is anyway to make this a permanent thing, as opposed to having to include the Import/EndImport statements in every bit of code..!?

I thought that maybe we could use this 'Compiler Options / Linker options file' bit. ??

One thing I have just noticed is that it works without the debugger enabled and I can create an executable from the GUI.. So it looks like its related to something only when the debugger is enabled.... Strange indeed..

Cheers,
David.
remi_meier
Enthusiast
Enthusiast
Posts: 468
Joined: Sat Dec 20, 2003 6:19 pm
Location: Switzerland

Re: Fedora 14 32bit - Installation Problems

Post by remi_meier »

jacfrosty wrote:First options doesn't seem to work.. but the second certainly does... :D
Nice to hear!
jacfrosty wrote:So, I have to ask if there is anyway to make this a permanent thing, as opposed to having to include the Import/EndImport statements in every bit of code..!?

I thought that maybe we could use this 'Compiler Options / Linker options file' bit. ??
Yes, that should work. Just create a file containing only "-ldl" and
specify it as the linker file. But I did not see a possibility to set that for
every source you try to compile.
jacfrosty wrote:One thing I have just noticed is that it works without the debugger enabled and I can create an executable from the GUI.. So it looks like its related to something only when the debugger is enabled.... Strange indeed..
Well, it looks like the debugger uses this "dynamic linking loader"
but does not specify to require the library "dl" that seems to be
necessary since Fedora 13.
More info: http://linux.die.net/man/3/dlopen

Anyway, the only ones that can really fix the problem are Fred 'n' Freak.
I think.

greetz
Remi
Athlon64 3700+, 1024MB Ram, Radeon X1600
User avatar
dhouston
Enthusiast
Enthusiast
Posts: 430
Joined: Tue Aug 21, 2007 2:44 pm
Location: USA (Cincinnati)
Contact:

Re: Fedora 14 32bit - Installation Problems

Post by dhouston »

None of the above works here.
http://davehouston.org
Mac Mini (Intel) 10.6.8 - iMac G4 (PPC) 10.4.11
Dell Dimension 2400 W98SE,W2K,XP,Vista,W7,Debian,Ubuntu,Kubuntu,Xubuntu,Fedora,Mandriva,Mint
(on swappable HDDs)
Vizio VTAB1008 - Android 3.1
MK808 miniAndroidPC (Android 4.1)
Post Reply