1. euphoria on Ubuntu Linux

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.

new topic     » topic index » view message » categorize

2. Re: euphoria on Ubuntu Linux

jessedavis said...

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: euphoria on Ubuntu Linux

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.

new topic     » goto parent     » topic index » view message » categorize

4. Re: euphoria on Ubuntu Linux

jessedavis said...

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.

new topic     » goto parent     » topic index » view message » categorize

5. Re: euphoria on Ubuntu Linux

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu