FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveLinux / FiveDroid (Android) 64bit linux server
Posts: 31
Joined: Wed Mar 19, 2008 08:52 AM
64bit linux server
Posted: Wed Apr 30, 2008 04: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.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
64bit linux server
Posted: 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
Posts: 31
Joined: Wed Mar 19, 2008 08:52 AM
64bit linux server
Posted: Thu May 01, 2008 03:51 PM

Thank you for your answer.

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

oknbs.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
64bit linux server
Posted: Thu May 01, 2008 03:53 PM

We will ask it in the Ubuntu forums

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 464
Joined: Tue May 16, 2006 07:47 AM
More on 64 bit
Posted: Fri May 16, 2008 04: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

Posts: 464
Joined: Tue May 16, 2006 07:47 AM
64bit linux server
Posted: Fri May 16, 2008 09: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)

Posts: 31
Joined: Wed Mar 19, 2008 08:52 AM
64bit linux server
Posted: Fri May 16, 2008 05: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.

Posts: 464
Joined: Tue May 16, 2006 07:47 AM
64bit linux server
Posted: Sat May 17, 2008 04: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.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
64bit linux server
Posted: Sat May 17, 2008 08:24 AM

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 464
Joined: Tue May 16, 2006 07:47 AM
64bit linux server
Posted: Sat May 17, 2008 01: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)

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
64bit linux server
Posted: 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

Continue the discussion