Timestamp probllems

Discussion of chess software programming and technical issues.

Moderator: Ras

User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: Timestamp probllems

Post by michiguel »

bob wrote:
michiguel wrote:It works fine in Ubuntu linux 8.10 32 bits but it does not in 64 bits.

I got this error when I try to execute it
bash: ./timestamp: No such file or directory

Bob sent me his copy that is working in Fedora 64 bits but it does not work either in my system. What do you think I have wrong?
Is timestamp trying to access a file or library that I do not have? That will explain it

Miguel
You probably need the package lib-compat or something like that, which gives the 32 bit shared libs. Here's the output for "ldd" which you should have on your system. Make sure you have these libs installed...


linux-gate.so.1 => (0x003cd000)
libc.so.6 => /lib/libc.so.6 (0x0012e000)
/lib/ld-linux.so.2 (0x0036b000)
Thanks, I will take a look at this. The problem is that Ubunitu 8.10 64 bits, as it is installed "out of the box", cannot run 32 bits programs. I compiled gaviota in Ubuntu 32 bits and gives me the same problem in 64 bits.

Easiest fix will be that ICC provides a compile version in 64 bits. Anyway, I will try to fix it because I will have other type of problems in the future if I don't. I will look at this libraries.

Miguel
User avatar
ilari
Posts: 750
Joined: Mon Mar 27, 2006 7:45 pm
Location: Finland

Re: Timestamp probllems

Post by ilari »

michiguel wrote:Thanks, I will take a look at this. The problem is that Ubunitu 8.10 64 bits, as it is installed "out of the box", cannot run 32 bits programs.
Installing the ia32-libs package solves most of these problems.
User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: Timestamp probllems

Post by michiguel »

ilari wrote:
michiguel wrote:Thanks, I will take a look at this. The problem is that Ubunitu 8.10 64 bits, as it is installed "out of the box", cannot run 32 bits programs.
Installing the ia32-libs package solves most of these problems.
Problem solved. Thanks a lot!

That contains all the bunch of libraries needed in one single package. I installed it with the synaptic package manager, but for all the other ubuntu users (and possibly Debian), it could also be done with the following typed on a termina:

sudo apt-get install ia32-libs

Miguel
User avatar
Don
Posts: 5106
Joined: Tue Apr 29, 2008 4:27 pm

Re: Timestamp probllems

Post by Don »

sje wrote:I don't believe that Ubuntu 64 bit kernel allows 32 bit executables. It seems that 64 bit operation is not a big priority at Ubuntu although this may be changing.

Consider switching wholesale to Fedora until Ubuntu becomes more 64 bit friendly.
What are you talking about? I run 64 bit unbuntu and run all kinds of 32 bit programs. I think what you fail to realize is that you have to install some 32 bit libraries, which is trivial.

This is a different subject, but I can also run most windows chess programs, but not the ones for 64 bit OS's. However, I do run Rybka 64 bit, there is a some hack to do this which works great.
User avatar
sje
Posts: 4675
Joined: Mon Mar 13, 2006 7:43 pm

Re: Timestamp probllems

Post by sje »

Don wrote:
sje wrote:I don't believe that Ubuntu 64 bit kernel allows 32 bit executables. It seems that 64 bit operation is not a big priority at Ubuntu although this may be changing.

Consider switching wholesale to Fedora until Ubuntu becomes more 64 bit friendly.
What are you talking about? I run 64 bit unbuntu and run all kinds of 32 bit programs. I think what you fail to realize is that you have to install some 32 bit libraries, which is trivial.

This is a different subject, but I can also run most windows chess programs, but not the ones for 64 bit OS's. However, I do run Rybka 64 bit, there is a some hack to do this which works great.
Perhaps what Ubuntu needs is some kind of Package Advisor add-on to Synaptic that does more than just give the minimum dependency backchain.

It won't make much difference in a few years as the general purpose computing environments stabilize on multicore 64 bit Intel/AMD hardware. There will still be development on PowerPC and ARM, but Ubuntu dropped PPC a while back and I don't think they ever handled ARM except for cross development.
User avatar
Don
Posts: 5106
Joined: Tue Apr 29, 2008 4:27 pm

Re: Timestamp probllems

Post by Don »

sje wrote:
Don wrote:
sje wrote:I don't believe that Ubuntu 64 bit kernel allows 32 bit executables. It seems that 64 bit operation is not a big priority at Ubuntu although this may be changing.

Consider switching wholesale to Fedora until Ubuntu becomes more 64 bit friendly.
What are you talking about? I run 64 bit unbuntu and run all kinds of 32 bit programs. I think what you fail to realize is that you have to install some 32 bit libraries, which is trivial.

This is a different subject, but I can also run most windows chess programs, but not the ones for 64 bit OS's. However, I do run Rybka 64 bit, there is a some hack to do this which works great.
Perhaps what Ubuntu needs is some kind of Package Advisor add-on to Synaptic that does more than just give the minimum dependency backchain.

It won't make much difference in a few years as the general purpose computing environments stabilize on multicore 64 bit Intel/AMD hardware. There will still be development on PowerPC and ARM, but Ubuntu dropped PPC a while back and I don't think they ever handled ARM except for cross development.
I agree. There has been more than one time that I didn't know HOW to get to important software or even know it existed.

For example a few years ago gcc stopped working properly and I discovered that you now had to install build-essentials - but this happened silently and with no real notice until you are constantly on top of it.

I'm not sure what the solution is, except better and better documentation. Or when you install a package some kind of alert that you might want this and that.