1. euphoria on Ubuntu Linux
- Posted by jessedavis May 21, 2009
- 1117 views
New install of euphoria downloaded from rsd for a linux platform. Platform is Ubuntu Linux using bash shell. Followed instructions for installing. exu refuses to run (from command line terminal). At first I thought it was a problem related to the exu executable file as the error message was "no such file or directory" (command issued from bash while in directory containing exu -> ./exu or ./exu file.ex). After many hours of working on this problem I am beginning to think that it has to do dynamic link libraries or the lack of them as if I run it under gdb because gdb tells me that it is unable to find the dynamic linker breakpoint. ldd tells me that it is NOT a dynamic executable; however, file tells me that it IS a dynamically linked program. I have done all the obvious things. Any thoughts greatly appreciated.
2. Re: euphoria on Ubuntu Linux
- Posted by mattlewis (admin) May 21, 2009
- 1096 views
New install of euphoria downloaded from rsd for a linux platform. Platform is Ubuntu Linux using bash shell. Followed instructions for installing. exu refuses to run (from command line terminal). At first I thought it was a problem related to the exu executable file as the error message was "no such file or directory" (command issued from bash while in directory containing exu -> ./exu or ./exu file.ex). After many hours of working on this problem I am beginning to think that it has to do dynamic link libraries or the lack of them as if I run it under gdb because gdb tells me that it is unable to find the dynamic linker breakpoint. ldd tells me that it is NOT a dynamic executable; however, file tells me that it IS a dynamically linked program. I have done all the obvious things. Any thoughts greatly appreciated.
Here is what I on Kubuntu 9.04:
$ ldd ./eui linux-gate.so.1 => (0xb803e000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7ffa000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7ff6000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e92000) /lib/ld-linux.so.2 (0xb803f000)Matt
3. Re: euphoria on Ubuntu Linux
- Posted by jessedavis May 21, 2009
- 1118 views
- Last edited May 22, 2009
Further information:
file gives:
exu: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), not stripped
gdb answer:
(gdb) run Starting program: /home/jd/euphoria/bin/exu /bin/bash: /home/jd/euphoria/bin/exu: No such file or directory /bin/bash: /home/jd/euphoria/bin/exu: Success
Program exited with code 01. warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. You can't do that without a process to debug.
ldd yields:
not a dynamic executable
The error message is NOT coming from the shell. It appears to be coming from the loader or the program itself. Is there something required by exu to run on linux that is assumed to be there?
Time marches onward toward the inevitable end.
4. Re: euphoria on Ubuntu Linux
- Posted by jimcbrown (admin) May 21, 2009
- 1130 views
- Last edited May 22, 2009
Further information:
file gives:
exu: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), not stripped
gdb answer:
(gdb) run Starting program: /home/jd/euphoria/bin/exu /bin/bash: /home/jd/euphoria/bin/exu: No such file or directory /bin/bash: /home/jd/euphoria/bin/exu: Success
Program exited with code 01. warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. You can't do that without a process to debug.
ldd yields:
not a dynamic executable
The error message is NOT coming from the shell. It appears to be coming from the loader or the program itself. Is there something required by exu to run on linux that is assumed to be there?
Time marches onward toward the inevitable end.
Do this:
ls -l /lib/ld*.so
and this:
uname -a
I'm wondering if you might be trying to run a 32bit executable on a 64bit kernel without the 32bit compatibility libraries installed.
5. Re: euphoria on Ubuntu Linux
- Posted by jessedavis May 22, 2009
- 1071 views
Got it!
I replaced Ubuntu 8 with Ubuntu 9 and the problem dissappeared. Apparently a subtle bug.
Thanks for your kind help
Regards, jd
and even the dead shall rise