Page 1 of 1
Fedora 14 32bit - Installation Problems
Posted: Fri Feb 25, 2011 4:11 pm
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.
Re: Fedora 14 32bit - Installation Problems
Posted: Sat Feb 26, 2011 4:40 am
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.
Re: Fedora 14 32bit - Installation Problems
Posted: Mon Feb 28, 2011 10:27 am
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.
Re: Fedora 14 32bit - Installation Problems
Posted: Mon Feb 28, 2011 10:57 am
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:
This might add the needed library to the linking options
2. Add the following code to your PB files:
Maybe it works, maybe not. I do not have Fedora here.
greetz
remi
Re: Fedora 14 32bit - Installation Problems
Posted: Mon Feb 28, 2011 11:30 am
by jacfrosty
Hi Remi
Thanks for the reply, most interesting..
First options doesn't seem to work.. but the second certainly does...
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.
Re: Fedora 14 32bit - Installation Problems
Posted: Mon Feb 28, 2011 6:55 pm
by remi_meier
jacfrosty wrote:First options doesn't seem to work.. but the second certainly does...

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
Re: Fedora 14 32bit - Installation Problems
Posted: Tue Mar 01, 2011 7:35 pm
by dhouston
None of the above works here.