Page 1 of 2
ubuntu 64 bits and pureBasic
Posted: Sun Nov 11, 2007 5:11 am
by chen
Hi,
I got a computer Acer AMD Dual core 64 bits with vista premium... great!
First thing I format it and install Ubuntu 64 bits, installation was ok, install
other applications I need and of course PureBasic 4,10 Final...
and guess what? PureBasic does not run in this architecture...
apparently only 32 bits.... is this true?!!
is there a work around?
thanks for your comments..
Posted: Sun Nov 11, 2007 5:45 pm
by chen
Right know is running but I can get the output.. I received the messages:
/usr/bin/ld: i386 architecture of input file "purebasic.o"is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file "String.a(Str.o)" is incompatible with i386:x86-64 output
Im on this....
Posted: Sun Nov 11, 2007 10:56 pm
by Thalius
Code: Select all
sudo apt-get install ia32-libs \
ia32-libs-gtk linux32
Thalius
Posted: Sun Nov 11, 2007 11:35 pm
by chen
Thalius wrote:Code: Select all
sudo apt-get install ia32-libs \
ia32-libs-gtk linux32
When I tried to do this I get this message:
selecting ia32-libs instead of ia32-libs-gtk
ia32-libs is already the newest version.
After unpacking, 5353kB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say'
Of course Im afraid... I dont know what Im doing... the only I know
is that the libraries ia32-libs are installed and I dont know
why I need to replace by ia32-libs-gtk it seems these are and old version..
Could you clarify this
thanks for your support[/quote]
Posted: Mon Nov 12, 2007 12:57 am
by Thalius
this will install needed packages for a 32 bit subsystem.
it tells you it wont upgrade the already installed ia32 libs because they are actual. Then tells you how much space for the install will be used. The commandline has several packages in it.
Thalius
Posted: Mon Nov 12, 2007 5:58 am
by chen
Thalius wrote:Code: Select all
sudo apt-get install ia32-libs \
ia32-libs-gtk linux32
Thalius
Ok... I executed this commands as you recommended... nothing changed..
I have the same messages..
Looking for something else..
Posted: Mon Nov 12, 2007 10:23 am
by walker
@ chen: ... and your current directory is ../purebasic/compilers ?.. if you type ./purebasic then the actual directory is referenced...
Posted: Mon Nov 12, 2007 4:52 pm
by chen
walker wrote:@ chen: ... and your current directory is ../purebasic/compilers ?.. if you type ./purebasic then the actual directory is referenced...
yes, it is.. Purebasic runs but at compilation time sends the previous
messages and stop... with any program...
anyway Ubuntu 64 is giving me a lot of problems..
I tried to install fedora 8 send bugs in the installation..
OpenSUSE does not recognize wireless, Wire connection nothing...
PClinuxOS after installations crashes in my computer
then.... in some moments is coming Sabayon 64
By the way in each installation I have made a lot of work trying to make
them run.....
thanks guys
Posted: Mon Nov 12, 2007 9:26 pm
by chen
ok...
Sabayon is ok... PB no..
When I execute an app see the compilation window....
Compilation in progress...
creating executable file...
and stay there forever..
I intalled all the libraries to emulate 32 system... amongs them
gtklibraries...
until now almost the same situation..
Trying....
Posted: Tue Nov 13, 2007 10:37 pm
by Thalius
try running teh compiler from console with your sourcecode and see if you get any messages.
I am running Ubuntu 7.10 - 64 Bit too and everything runs fine.
Thalius
Posted: Thu Nov 15, 2007 4:32 am
by chen
Thalius wrote:try running teh compiler from console with your sourcecode and see if you get any messages.
I am running Ubuntu 7.10 - 64 Bit too and everything runs fine.
Thalius
At the begining I get:
"(purebasic:9872): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/filesystems/libgnome-vfs.so: wrong ELF class: ELFCLASS64"
Im not knowledgable in Linux but I think something is happening that PB
is not taking 32 bit libraries..
Posted: Fri Nov 16, 2007 4:11 pm
by spangly
I get the following error when trying to compile anything under ubuntu 7,10 (x64)
has anyone got any ideas how to fix it?
Code: Select all
******************************************
PureBasic 4.10 (Linux - x86)
******************************************
Loading external modules...
Starting compilation...
95 lines processed.
Creating the executable.
*** glibc detected *** pbcompiler: realloc(): invalid next size: 0x081dc648 ***
======= Backtrace: =========
/lib32/libc.so.6[0xf7e0668c]
/lib32/libc.so.6(realloc+0x106)[0xf7e085e6]
/lib32/libc.so.6(realloc+0x3c)[0xf7e0851c]
pbcompiler[0x8053621]
pbcompiler[0x805498c]
pbcompiler[0x80553d0]
/lib32/libc.so.6(__libc_start_main+0xe0)[0xf7db0050]
pbcompiler[0x8048e31]
======= Memory map: ========
08048000-0809c000 r-xp 00000000 03:03 14485017 /home/guy/Download/purebasic/compilers/pbcompiler
0809c000-0809d000 rw-p 00054000 03:03 14485017 /home/guy/Download/purebasic/compilers/pbcompiler
0809d000-08409000 rw-p 0809d000 00:00 0 [heap]
f6b00000-f6b21000 rw-p f6b00000 00:00 0
f6b21000-f6c00000 ---p f6b21000 00:00 0
f6cbd000-f7d9a000 rw-p f6cbd000 00:00 0
f7d9a000-f7ede000 r-xp 00000000 03:03 12877829 /lib32/libc-2.6.1.so
f7ede000-f7edf000 r--p 00143000 03:03 12877829 /lib32/libc-2.6.1.so
f7edf000-f7ee1000 rw-p 00144000 03:03 12877829 /lib32/libc-2.6.1.so
f7ee1000-f7ee4000 rw-p f7ee1000 00:00 0
f7ee4000-f7f07000 r-xp 00000000 03:03 12877833 /lib32/libm-2.6.1.so
f7f07000-f7f09000 rw-p 00023000 03:03 12877833 /lib32/libm-2.6.1.so
f7f0f000-f7f19000 r-xp 00000000 03:03 11600202 /usr/lib32/libgcc_s.so.1
f7f19000-f7f1a000 rw-p 0000a000 03:03 11600202 /usr/lib32/libgcc_s.so.1
f7f1a000-f7f1e000 rw-p f7f1a000 00:00 0
f7f1e000-f7f3a000 r-xp 00000000 03:03 12877826 /lib32/ld-2.6.1.so
f7f3a000-f7f3c000 rw-p 0001b000 03:03 12877826 /lib32/ld-2.6.1.so
fffc3000-fffc7000 rw-p fffc3000 00:00 0 [stack]
ffffe000-fffff000 r-xp ffffe000 00:00 0 [vdso]
Aborted (core dumped)
Posted: Fri Nov 16, 2007 6:46 pm
by Thalius
/usr/lib/gtk-2.0/2.10.0/filesystems/libgnome-vfs.so: wrong ELF class: ELFCLASS64
means that theres no 32 bit version installed of that lib. Currently at customer and cant check in which paket that is - can look over weekend.
Thalius
Posted: Sat May 24, 2008 12:59 pm
by Karlos
same error as spangly on RH enterprise - any thought on this as mission critical for me
Posted: Sat May 24, 2008 1:04 pm
by Fred
did you tried with the fresh 4.20 version ?