Help--Program exists but can't execute
Hi: I have a very strange and serious problem. On Suse Linux 7.0, I have successfully installed the rpm for Eagle 3.55 (A printed circuit design program from www.cadsoft.de). However, when I try to run eagle I get: ~ $ eagle bash: /usr/local/bin/eagle: No such file or directory The same error appears if I try to run eagle as a user, as root, from a console outside of X, or from the CDROM demo directory as user or root. I have verified many things are in order for the program to run: 1. The eagle program (actually symlink to /opt/eagle/bin/eagle from /usr/local/bin/eagle) is in the user's path and the symlink points to the right place: ~ $ which eagle /usr/local/bin/eagle ~ $ ls -l /usr/local/bin/eagle lrwxrwxrwx 1 root root 20 Feb 23 07:55 /usr/local/bin/eagle -> /opt/eagle/bin/eagle 2. The eagle program is installed in /opt/eagle/bin: ~ $ ls -l /opt/eagle/bin/eagle -rwxr-xr-x 1 root root 3924300 May 30 1999 /opt/eagle/bin/eagle ~ $ file /opt/eagle/bin/eagle /opt/eagle/bin/eagle: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked (uses shared libs), stripped 3. Trying to run the program using the direct path also fails: ~ $ /opt/eagle/bin/eagle bash: /opt/eagle/bin/eagle: No such file or directory 4. Creating a token script in /opt/eagle/bin named eagle that simply echoes that it is executing works OK: /opt/eagle/bin # ls -l eagle -rwxr-xr-x 1 root root 40 Feb 23 08:57 eagle /opt/eagle/bin # cat eagle #!/bin/sh echo "Eagle script executing" /opt/eagle/bin # ./eagle Eagle script executing 5. Making the token script into a wrapper that executes the real eagle by a different name also fails: /opt/eagle/bin # ls -l eagle eagle.sav -rwxr-xr-x 1 root root 65 Feb 23 08:59 eagle -rwxr-xr-x 1 root root 3924300 May 30 1999 eagle.sav /opt/eagle/bin # cat eagle #!/bin/sh echo "Eagle script executing" /opt/eagle/bin/eagle.sav /opt/eagle/bin # ./eagle Eagle script executing ./eagle: /opt/eagle/bin/eagle.sav: No such file or directory Now for the most interesting part: 6. I have a triple boot system with W98, Suse Linux 6.2 (with Eagle 3.55 working fine), and Suse 7.0 . When I boot up Suse Linux 6.2, then mount the partition containing Suse 7.0, change dir to the /s70/opt/eagle/bin directory, and run ./eagle, it executes just fine! Also, while running Suse 7.0 I can't run the eagle from Suse 6.2 What is going on here making Suse 7.0 unable to run eagle and how can I fix it??? -- _____________________ Christopher R. Carlen crcarl@inreach.com Linux 2.2.10
On Fri, Feb 23, 2001 at 07:36:56PM -0800, Chris Carlen wrote:
Hi:
I have a very strange and serious problem. On Suse Linux 7.0, I have successfully installed the rpm for Eagle 3.55 (A printed circuit design program from www.cadsoft.de). However, when I try to run eagle I get:
~ $ eagle bash: /usr/local/bin/eagle: No such file or directory
The same error appears if I try to run eagle as a user, as root, from a console outside of X, or from the CDROM demo directory as user or root.
I have verified many things are in order for the program to run:
1. The eagle program (actually symlink to /opt/eagle/bin/eagle from /usr/local/bin/eagle) is in the user's path and the symlink points to the right place:
~ $ which eagle /usr/local/bin/eagle ~ $ ls -l /usr/local/bin/eagle lrwxrwxrwx 1 root root 20 Feb 23 07:55 /usr/local/bin/eagle -> /opt/eagle/bin/eagle
2. The eagle program is installed in /opt/eagle/bin:
~ $ ls -l /opt/eagle/bin/eagle -rwxr-xr-x 1 root root 3924300 May 30 1999 /opt/eagle/bin/eagle
~ $ file /opt/eagle/bin/eagle /opt/eagle/bin/eagle: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked (uses shared libs), stripped
What does ldd show? I bet this eagle is linked against libc5 libraries. You'll need then shlibs5 rpm. -Kastus
3. Trying to run the program using the direct path also fails:
~ $ /opt/eagle/bin/eagle bash: /opt/eagle/bin/eagle: No such file or directory
4. Creating a token script in /opt/eagle/bin named eagle that simply echoes that it is executing works OK:
/opt/eagle/bin # ls -l eagle -rwxr-xr-x 1 root root 40 Feb 23 08:57 eagle /opt/eagle/bin # cat eagle #!/bin/sh echo "Eagle script executing" /opt/eagle/bin # ./eagle Eagle script executing
5. Making the token script into a wrapper that executes the real eagle by a different name also fails:
/opt/eagle/bin # ls -l eagle eagle.sav -rwxr-xr-x 1 root root 65 Feb 23 08:59 eagle -rwxr-xr-x 1 root root 3924300 May 30 1999 eagle.sav /opt/eagle/bin # cat eagle #!/bin/sh echo "Eagle script executing" /opt/eagle/bin/eagle.sav /opt/eagle/bin # ./eagle Eagle script executing ./eagle: /opt/eagle/bin/eagle.sav: No such file or directory
Now for the most interesting part:
6. I have a triple boot system with W98, Suse Linux 6.2 (with Eagle 3.55 working fine), and Suse 7.0 . When I boot up Suse Linux 6.2, then mount the partition containing Suse 7.0, change dir to the /s70/opt/eagle/bin directory, and run ./eagle, it executes just fine!
Also, while running Suse 7.0 I can't run the eagle from Suse 6.2
What is going on here making Suse 7.0 unable to run eagle and how can I fix it???
libc5, I guess
-- _____________________ Christopher R. Carlen crcarl@inreach.com Linux 2.2.10
* Konstantin (Kastus) Shchuka [Fri, 23 Feb 2001 20:17:13 -0800]:
What does ldd show? I bet this eagle is linked against libc5 libraries. You'll need then shlibs5 rpm.
You've hit the nail on the head ;-) eagle is indeed a libc5 program and thus shlibs5 is the right cure. -- Penguins to save the dinosaurs -- Handelsblatt on Linux for S/390
Please refer to post about broken ldd for explanation of fix. _____________________ Christopher R. Carlen crcarl@inreach.com Linux 2.2.10
participants (3)
-
Chris Carlen
-
Konstantin (Kastus) Shchuka
-
Philipp Thomas