On Wed, 31 Mar 1999, David Taylor wrote:

> Date: Wed, 31 Mar 1999 16:32:02 +0100 (GMT)
> From: David Taylor <[EMAIL PROTECTED]>
> To: "C.Jagadish" <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED], [EMAIL PROTECTED],
>     Martin Mares <[EMAIL PROTECTED]>
> Subject: Re: Not executing a executable, says no such file of directory
> 
> On Wed, 31 Mar 1999, C.Jagadish wrote:
> 
> > 
> > file /bin/ls  give the following output
> > /bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked,
> >  stripped
> > 
> > file logrotate  give the following output
> > logrotate: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically 
> > linked, stripped
> > 
> > I am able to execute /bin/ls, but not logrotate.
> > 
> > If I try to execute logrotate it says 
> > bash: ./logrotate: No such file or directory. This file excutes on a Linux
> > Redhat 5.0 version.
> 
> try 'ldd /bin/ls' 'ldd ./logrotate'...
> 
> You often get that sort of problem with shell scripts pointing to a
> non-existant shell (but it isnt a shell script, according to file).
> 
> Another reason might be a missing linked library, but I think you usually
> get a 'dynamic linking error' not a message from bash.
> 
> Running ldconfig as root might help..
>  
> > I have the same problem with java compiler and other executables also.
> > 
> > Can any Linux expert give some hint to solve the problem!!!!!
> > 
> > 
> > Regards
> > C.Jagadish
> > 
> 
> -- 
> David Taylor
> E-Mail:       [EMAIL PROTECTED]
> ICQ:  268004
> [Remove .spam from e-mail to reply]
> 

Reply via email to