64bit linux server

64bit linux server

Postby oknbs » Wed Apr 30, 2008 4:05 pm

Hi Harbour Users.

I made a program by 32Bit xHarbour and I tried to run it under the ubuntu Linux 64bit Server, but the program was not running.

So I directly tried to compile and run it under the 64bit Server, but the harbour in itself was not running under the 64Bit Server.

How can I run the program under the 64Bit Server?

I am writing to ask for your help.

oknbs.
oknbs
 
Posts: 31
Joined: Wed Mar 19, 2008 8:52 am

Postby Antonio Linares » Wed Apr 30, 2008 10:54 pm

I would suggest you, as a test, to copy the calculator from Ubuntu 32 bits and try it in Ubuntu 64 bits.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42097
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby oknbs » Thu May 01, 2008 3:51 pm

Thank you for your answer.

The ubuntu 32 bit caculator and harbour language aren't operated under the ubuntu 64 bit.

oknbs.
oknbs
 
Posts: 31
Joined: Wed Mar 19, 2008 8:52 am

Postby Antonio Linares » Thu May 01, 2008 3:53 pm

We will ask it in the Ubuntu forums
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42097
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

More on 64 bit

Postby xProgrammer » Fri May 16, 2008 4:46 am

I just installed a Ubuntu 8.04 workstation and tried to run my application but it wouldn't run.
Not only that but I got the message "No such file or directory" even though it appears on the ls listing with me as owner and I have rwx rights. I don't have all the tools with me to rebuild on this platform but will try when I can. The problem does seem more fundamental. And it applies to a little utility I wrote that uses xHarbour but not FLinux as it doesn't require any GUI. So its not a FiveLinux issue per se. But if program has to be compiled as 64 bit application we would need 64 bit versions of the libraries Antonio supplies.

xProgrammer
User avatar
xProgrammer
 
Posts: 464
Joined: Tue May 16, 2006 7:47 am
Location: Australia

Postby xProgrammer » Fri May 16, 2008 9:09 am

I just installed 8.04 Ubuntu i386 workstation (32 bit) on another box and xHarbour /FiveLinux executables appear to be running fine on that.

Looks like a 64 bit issue - but the error message doesn't really fit.

Doug
(xProgrammer)
User avatar
xProgrammer
 
Posts: 464
Joined: Tue May 16, 2006 7:47 am
Location: Australia

Postby oknbs » Fri May 16, 2008 5:12 pm

ubuntu Linux( 7.0x ~ 8.04 ) i386 => Running OK
ubuntu Linux 64bit All => Running Error

fedora Linux i386 ( 6,7,8,9 All ) => Running OK
fedora Linux x86_64 ( 6,7,8,9 All ) => Running OK

RadHat Linux Enterprise 4 or 5 i386 => Running OK
RadHat Linux Enterprise 4 or 5 x86_64 => Running OK

fedora or RadHat 64bit Linux is required more than glibc 2.4

oknbs.
oknbs
 
Posts: 31
Joined: Wed Mar 19, 2008 8:52 am

Postby xProgrammer » Sat May 17, 2008 4:22 am

I have been on the Ubuntu forums and it seems that the problem is that the existing executable is looking for 32 bit libraries. So in order to run one (in theory at least) has to install the 32 bit libraries on the 64 bit box or recompile the application to 64 bit and have all libraries also compiled 64 bit.

The latter option would mean that we would need 64 bit libraries from Antonio.
User avatar
xProgrammer
 
Posts: 464
Joined: Tue May 16, 2006 7:47 am
Location: Australia

Postby Antonio Linares » Sat May 17, 2008 8:24 am

We could build a 64 bits version, of both Harbour and FiveLinux too.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42097
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby xProgrammer » Sat May 17, 2008 1:11 pm

Hi Antonio

> We could build a 64 bits version, of both Harbour and FiveLinux too.

(and xHarbour?). That would be great. I didn't realise the can of worms I was opening when I installed Ubuntu 8.04 64 bit workstation. But it seemed like a good idea at the time given that the new box had twin quad core CPUs.

But more and more people will be going 64 bit as people update their hardware.

Thanks
Doug
(xProgrammer)
User avatar
xProgrammer
 
Posts: 464
Joined: Tue May 16, 2006 7:47 am
Location: Australia

Postby Antonio Linares » Sat May 17, 2008 11:09 pm

Doug,

Yes, both Harbour/xHarbour (should) provide a way to building them in 64 bits. Then we just need to recompile FiveLinux and we get ready for 64 bits
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42097
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveLinux / FiveDroid (Android)

Who is online

Users browsing this forum: No registered users and 3 guests