Page 1 of 1

64bit linux server

Posted: Wed Apr 30, 2008 4:05 pm
by oknbs
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.

Posted: Wed Apr 30, 2008 10:54 pm
by Antonio Linares
I would suggest you, as a test, to copy the calculator from Ubuntu 32 bits and try it in Ubuntu 64 bits.

Posted: Thu May 01, 2008 3:51 pm
by oknbs
Thank you for your answer.

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

oknbs.

Posted: Thu May 01, 2008 3:53 pm
by Antonio Linares
We will ask it in the Ubuntu forums

More on 64 bit

Posted: Fri May 16, 2008 4:46 am
by xProgrammer
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

Posted: Fri May 16, 2008 9:09 am
by xProgrammer
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)

Posted: Fri May 16, 2008 5:12 pm
by oknbs
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.

Posted: Sat May 17, 2008 4:22 am
by xProgrammer
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.

Posted: Sat May 17, 2008 8:24 am
by Antonio Linares
We could build a 64 bits version, of both Harbour and FiveLinux too.

Posted: Sat May 17, 2008 1:11 pm
by xProgrammer
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)

Posted: Sat May 17, 2008 11:09 pm
by Antonio Linares
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