ubuntu 64 bits and pureBasic

Linux specific forum
chen
Enthusiast
Enthusiast
Posts: 338
Joined: Fri Dec 23, 2005 2:20 pm
Location: Quebec, Canada
Contact:

ubuntu 64 bits and pureBasic

Post 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?!! :cry:

is there a work around?

thanks for your comments..
chen
Enthusiast
Enthusiast
Posts: 338
Joined: Fri Dec 23, 2005 2:20 pm
Location: Quebec, Canada
Contact:

Post 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....
Thalius
Enthusiast
Enthusiast
Posts: 711
Joined: Thu Jul 17, 2003 4:15 pm
Contact:

Post by Thalius »

Code: Select all

sudo apt-get install ia32-libs \ 
ia32-libs-gtk linux32

Code: Select all

linux32 ./purebasic
:wink:

Thalius
"In 3D there is never enough Time to do Things right,
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone! ;)"
chen
Enthusiast
Enthusiast
Posts: 338
Joined: Fri Dec 23, 2005 2:20 pm
Location: Quebec, Canada
Contact:

Post 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]
Thalius
Enthusiast
Enthusiast
Posts: 711
Joined: Thu Jul 17, 2003 4:15 pm
Contact:

Post 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
"In 3D there is never enough Time to do Things right,
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone! ;)"
chen
Enthusiast
Enthusiast
Posts: 338
Joined: Fri Dec 23, 2005 2:20 pm
Location: Quebec, Canada
Contact:

Post by chen »

Thalius wrote:

Code: Select all

sudo apt-get install ia32-libs \ 
ia32-libs-gtk linux32

Code: Select all

linux32 ./purebasic
:wink:

Thalius
Ok... I executed this commands as you recommended... nothing changed..
I have the same messages..

Looking for something else..
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

@ chen: ... and your current directory is ../purebasic/compilers ?.. if you type ./purebasic then the actual directory is referenced...
chen
Enthusiast
Enthusiast
Posts: 338
Joined: Fri Dec 23, 2005 2:20 pm
Location: Quebec, Canada
Contact:

Post 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
:wink:

By the way in each installation I have made a lot of work trying to make
them run.....

thanks guys
chen
Enthusiast
Enthusiast
Posts: 338
Joined: Fri Dec 23, 2005 2:20 pm
Location: Quebec, Canada
Contact:

Post 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....
Thalius
Enthusiast
Enthusiast
Posts: 711
Joined: Thu Jul 17, 2003 4:15 pm
Contact:

Post 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
"In 3D there is never enough Time to do Things right,
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone! ;)"
chen
Enthusiast
Enthusiast
Posts: 338
Joined: Fri Dec 23, 2005 2:20 pm
Location: Quebec, Canada
Contact:

Post 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..
spangly
User
User
Posts: 54
Joined: Mon Apr 28, 2003 8:26 pm
Contact:

Post 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)
Athlon64 3200, 2048mb, Ubuntu 7.10 (x64)
Thalius
Enthusiast
Enthusiast
Posts: 711
Joined: Thu Jul 17, 2003 4:15 pm
Contact:

Post 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
"In 3D there is never enough Time to do Things right,
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone! ;)"
Karlos
New User
New User
Posts: 6
Joined: Tue Jun 29, 2004 1:02 pm

Post by Karlos »

same error as spangly on RH enterprise - any thought on this as mission critical for me
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

did you tried with the fresh 4.20 version ?
Post Reply