No such file or directory for existing executable


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers No such file or directory for existing executable
# 8  
Old 01-13-2015
Quote:
Originally Posted by chebarbudo
Hi all and thanks for your help,

@Corona688. Good point. I'm running a 64-bit live Debian. I'll try with a 32-bit live Debian.
Or you could just install the correct libraries.
# 9  
Old 01-13-2015
Blade

Thanks everyone for the help.
I have rebooted on a debian-live-7.7.0-i386-standard.iso and it seems to solve the issue but I immediately ran into another problem:
Code:
Error while loading shared libraries: libstdc++.so.5:
cannot open shared object file: No such file or directory.
You must install the Linux compatibility libraries.
To install the compatibility libraries, use the following command:
"rpm -ih compat-libstdc++-33-3.2.3-47.3.i386.rpm"

So I downloaded the package and ran it :
Code:
wget ftp://ftp.pbone.net/mirror/www.whiteboxlinux.org/whitebox/4/en/os/i386/WhiteBox/RPMS/compat-libstdc++-33-3.2.3-47.3.i386.rpm
rpm -ih compat-libstdc++-33-3.2.3-47.3.i386.rpm

A new error arrose :
Code:
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
warning: compat-libstdc++-33-3.2.3-47.3.i386.rpm: Header V3 DSA/SHA1 Signature, key ID 73307de6: NOKEY
error: Failed dependencies:
        /sbin/ldconfig is needed by compat-libstdc++-33-3.2.3-47.3.i386
        libc.so.6 is needed by compat-libstdc++-33-3.2.3-47.3.i386
        libc.so.6(GLIBC_2.0) is needed by compat-libstdc++-33-3.2.3-47.3.i386
        libc.so.6(GLIBC_2.1) is needed by compat-libstdc++-33-3.2.3-47.3.i386
        libc.so.6(GLIBC_2.1.3) is needed by compat-libstdc++-33-3.2.3-47.3.i386
        libc.so.6(GLIBC_2.2) is needed by compat-libstdc++-33-3.2.3-47.3.i386
        libc.so.6(GLIBC_2.3) is needed by compat-libstdc++-33-3.2.3-47.3.i386
        libgcc_s.so.1 is needed by compat-libstdc++-33-3.2.3-47.3.i386
        libgcc_s.so.1(GCC_3.0) is needed by compat-libstdc++-33-3.2.3-47.3.i386
        libgcc_s.so.1(GCC_3.3) is needed by compat-libstdc++-33-3.2.3-47.3.i386
        libgcc_s.so.1(GLIBC_2.0) is needed by compat-libstdc++-33-3.2.3-47.3.i386
        libm.so.6 is needed by compat-libstdc++-33-3.2.3-47.3.i386

Surprisingly, the requested files ARE on the system (/sbin/ldconfig, libc.so.6, libgcc_s.so.1 and libm.so.6).
What could be the problem then. Any thoughts?
# 10  
Old 01-16-2015
You are trying to install a package from whitebox linux, a redhat-based distribution that's been defunct for almost a decade, on modern debian. That's not going to work.

Find the equivalent package for your distribution.

Also, you should probably follow the advice above and use the proper package manager for your distribution instead of forcing RPM's by hand.

Furthermore, now that you know what's missing, you may have more luck getting it to work in 64-bit.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Find exit with success with non executable directory

Hi there, I'm quite surprised by the following behavior of find. $ find -ls # I have a directory and a file in it 8145 4 drwxr-xr-x 3 me me 4096 May 10 09:36 . 87 4 drwxr-xr-x 2 me me 4096 May 10 09:36 ./dir 88 0 -rw-r--r-- 1 me me 0... (2 Replies)
Discussion started by: chebarbudo
2 Replies

2. UNIX for Dummies Questions & Answers

Run executable in one directory and then move to another successively

Hello, I have several hundred subdirectories which contain input files for a binary executable. I need to get into each of the subdirectories, run the executable and then move to the next one and repeat the process. What is the best way to do this? Arbitrarily my file structures look like... (3 Replies)
Discussion started by: Gussifinknottle
3 Replies

3. Shell Programming and Scripting

How to find a existing file location and directory location in Solaris box?

Hi This is my third past and very impressed with previous post replies Hoping the same for below query How to find a existing file location and directory location in solaris box (1 Reply)
Discussion started by: buzzme
1 Replies

4. Shell Programming and Scripting

Finding the executable files of a directory using Grep

Hi guys, Can you please help me print all the executable files of a directory(in this case /home) using grep? All i know is that this command should do it but it doesnt... ls -l ~ | grep -..x it shows me the following mesage grep: invalid option -- '.' Χρήση: grep ... ΥΠΟΔΕΙΓΜΑ ... (3 Replies)
Discussion started by: jimas13
3 Replies

5. UNIX for Dummies Questions & Answers

Symbolic link for an existing directory

Hi , i am trying to make a symbolic link for an existing directory, but i am facng some problems regarding the usage of command. If there is no directory i can make a symbolic link, but for an existing directory i am not able to. can anyone post me the exact usage if we already have the... (1 Reply)
Discussion started by: sahasra
1 Replies

6. Shell Programming and Scripting

How to tar all executable file in a directory

Dear all I want to create a tar file which contains all executable files in a specific directory cd /appl/home/ file some_exe some_exe: 64-bit XCOFF executable or object module not stripped My current approach is to tar it one by one tar -cvf test.tar exefile1 tar -uvf test.tar... (2 Replies)
Discussion started by: on9west
2 Replies

7. Shell Programming and Scripting

folder existing and file existing

I want to look into a folder to see if there are any folders within it. If there are, I need to check inside each folder to see if it contains a .pdf file So If /myserver/myfolder/ contains a folder AND that folder conatins a .pdf file do X Else do Z I may have multiple folders and... (4 Replies)
Discussion started by: crowman
4 Replies

8. UNIX for Dummies Questions & Answers

Executable directory general question

This may be a dumb question (but this is the UNIX for Dummies Q&A forum :) But I'm wondering, what is the purpose of a directory being given execute permissions? I can't execute a directory, only files, right? If I make a directory executable, the files inside still won't execute unless I give... (1 Reply)
Discussion started by: FredSmith
1 Replies

9. Shell Programming and Scripting

i want to delete a file based on existing file in a directory

hi i am having four files in a directory.like 1)sampleRej 2)exampleRej 3)samplemain 4)examplemain my requirement is i have to search for the rejected files (sampleRej,exampleRej) in a directory.if these files in that directory then i have to delete the main files... (3 Replies)
Discussion started by: srivsn
3 Replies

10. AIX

Filesystem creation over existing Directory

Is it possible to create a Filesystem with the mount point over an existing Directory, without loosing the data in the Directory? eg:- /u01 -> /pmmpd/u01 (Directory with soft link) /pmmpd/u01 (Need to create this filesystem, without loosing data) Thanks TheDoc (0 Replies)
Discussion started by: TheDoc
0 Replies
Login or Register to Ask a Question