I looked into this on xubuntu 12.04.1. Long story short: needs a recompile
against current libraries.

A bit more detail if someone is interested:
"readelf -a QLAY | less"
tells us that the binary needs /lib/ld-linux.so.1

  INTERP         0x0000d4 0x080000d4 0x00000000 0x00013 0x00013 R   0x1
      [Requesting program interpreter: /lib/ld-linux.so.1]

and "ldd QLAY" shows that an older libc shared library is requested.
libc.so.5 => not found

I then checked if the current versions work with the binary by creating
symlinks with old version names to current libraries:
"sudo ln -s /lib/i386-linux-gnu/libc.so.6 /lib/i386-linux-gnu/libc.so.5"
"sudo ln -s /lib/ld-linux.so.2 /lib/ld-linux.so.1"

Trying to run QLAY now produces the following error:
./QLAY: symbol lookup error: ./QLAY: undefined symbol: __setfpucw

which makes sense as __setfpucw does not exist in current glibc versions:
http://www.kernel.org/doc/man-pages/online/pages/man3/__setfpucw.3.html

So, the current library distributions won't work with the old binary and a
recompile is necessary.

The source package does not seem to contain a Linux Makefile so some work
would be needed to recompile.

Best regards,
Petri


On Tue, Jan 22, 2013 at 5:08 AM, Timothy Swenson <[email protected]>wrote:

> I just downloaded QLAY and tried it on my Lubuntu 12.4 system.  I'm
> getting the same odd error that the user reported.
>
> I made sure that the file was executable, so I did a 'chmod 777 QLAY'.
> When I did './QLAY', I got the same "no sure file or directory."  The
> command 'strace ./QLAY' did not show much.  Basically, an execve call was
> made and it returned ENOENT, which is the same as "no such file or
> directory".  There was an llseek system call that returned ESPIPE or
> "Illegal seek".
>
> I've never seen Linux or Unix not find a file like that.  The file system
> can see the file.  I can chmod the file.  I can cat the file.  I can rename
> the file, but trying to execute it, the file can't be found.
>
> One suggestion is that the user download the source code and see if he can
> build it himself.  I just tried it and had a number of compiler errors.  If
> the user is not a C person, he may not get it to compile. Has anyone
> successfully compiled QLAY lately?  The source code was last touched in
> 1999, so it might be a little rusty.
>
> Another option is for the user to try the DOS version using DOSBOX on
> Linux.  DOSBOX is great for running old DOS software.  I've run stuff that
> was created in 1986 and it ran fine.
>
> Tim Swenson
>
> ______________________________**_________________
> QL-Users Mailing List
> http://www.q-v-d.demon.co.uk/**smsqe.htm<http://www.q-v-d.demon.co.uk/smsqe.htm>
>
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to