Error Message: "No such file or directory"
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > Error Message: "No such file or directory"




Pages (2): [1] 2 »   Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Error Message: "No such file or directory"  
Tim Johnson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-24-07 06:14 AM

Hi:
Using kubuntu 7.04 (amd_640
I've installed a binary in /usr/bin. This is a programming language
interpreter (rebol) not available thru apt-get.
Permissions are set to 775, but when I attempt to execute it, I get
"No such file or directory"

Is there something else that needs to be done?
Supposedly the binary was compiled for ubuntu.
thanks
tim





[ Post a follow-up to this message ]



    Re: Error Message: "No such file or directory"  
SINNER


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-07 12:13 AM

* Tim Johnson wrote in alt.os.linux.debian:

> Hi:
> Using kubuntu 7.04 (amd_640
> I've installed a binary in /usr/bin. This is a programming language
> interpreter (rebol) not available thru apt-get.
> Permissions are set to 775, but when I attempt to execute it, I get
> "No such file or directory"
>
> Is there something else that needs to be done?
> Supposedly the binary was compiled for ubuntu.
> thanks
> tim
>

Is the exectuable in /usr/bin or is it in /usr/bin/rebol/ ?

If the latter, make a symbolic link (must change the name slightly if its
the same as the directory name) in /usr/bin

ln -s /usr/bin/rebol/rebol /usr/bin/rebolexe

--
David





[ Post a follow-up to this message ]



    Re: Error Message: "No such file or directory"  
Tim Johnson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-07 12:13 AM

SINNER wrote:
> * Tim Johnson wrote in alt.os.linux.debian:
> 
>
> Is the exectuable in /usr/bin or is it in /usr/bin/rebol/ ?
Hi Sinner:
It is in /usr/bin
and I have tried it in /usr/local/bin with the same results
ldd rebol gives me
"Not a dynamic executable"
linux32 rebol gives me
"Can not execute rebol: No such file or directory"
It is compiled as 32-bit .... works fine on slackware 10.0

I have also tried executing as ./rebol from several other directories.
thanks
tim





[ Post a follow-up to this message ]



    Re: Error Message: "No such file or directory"  
Linonut


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-07 12:13 AM

After takin' a swig o' grog, Tim Johnson belched out this bit o' wisdom:

>    It is in /usr/bin
>
>     and I have tried it in /usr/local/bin with the same results
>
> ldd rebol gives me
>
> "Not a dynamic executable"
>
> linux32 rebol gives me
> "Can not execute rebol: No such file or directory"
>
> It is compiled as 32-bit .... works fine on slackware 10.0

Try

file /usr/bin/rebol

and tell us what it says.  (Install the "file" package, if necessary.)

Same for

ls -l /usr/bin/rebol


--
Refactor Windows.





[ Post a follow-up to this message ]



    Re: Error Message: "No such file or directory"  
Tim Johnson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-07 12:13 AM

Linonut wrote:
> After takin' a swig o' grog, Tim Johnson belched out this bit o' wisdom:
> 
>
> Try
>
>    file /usr/bin/rebol
>
> and tell us what it says.  (Install the "file" package, if necessary.)
>
> Same for
>
>    ls -l /usr/bin/rebol
>
Here you go....
tim@bart:~$ file /usr/bin/rebol
/usr/bin/rebol: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
for GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped
tim@bart:~$ ls -l /usr/bin/rebol
-rwxr-xr-x 1 root root 364576 2006-02-13 19:17 /usr/bin/rebol

thanks
tim





[ Post a follow-up to this message ]



    Re: Error Message: "No such file or directory"  
Tim Johnson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-07 12:13 AM

Linonut wrote:

>
> Try
>
>    file /usr/bin/rebol
>
> and tell us what it says.  (Install the "file" package, if necessary.)
>
> Same for
>
>    ls -l /usr/bin/rebol
>
BTW: If I run ldd on this same executable from slackware I get:
ldd ~/downloads/rebol
libm.so.6 => /lib/libm.so.6 (0x4002c000)
libc.so.6 => /lib/libc.so.6 (0x4004e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
tim





[ Post a follow-up to this message ]



    Re: Error Message: "No such file or directory"  
Tim Johnson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-07 12:13 AM

Tim Johnson wrote:
> Linonut wrote:
> 
> BTW: If I run ldd on this same executable from slackware I get:
>  ldd ~/downloads/rebol
>         libm.so.6 => /lib/libm.so.6 (0x4002c000)
>         libc.so.6 => /lib/libc.so.6 (0x4004e000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
ld-linux is not present on this machine.
question 1: Where do I get it?
question 2: can this 32-bit executable use those libraries
:-)that should answered when I find ld-linux.so.2





[ Post a follow-up to this message ]



    Re: Error Message: "No such file or directory"  
Mumia W.


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-07 12:13 AM

On 05/24/2007 05:59 AM, Tim Johnson wrote:
>  [...]
> ldd rebol gives me
> "Not a dynamic executable"
> linux32 rebol gives me
> "Can not execute rebol: No such file or directory"
> It is compiled as 32-bit .... works fine on slackware 10.0
>
> I have also tried executing as ./rebol from several other directories.
> thanks
> tim

That rebol binary is too old to run under modern Linuxes. You need a
modern executable which you can probably get here:
http://www.rebol.net/builds/






[ Post a follow-up to this message ]



    Re: Error Message: "No such file or directory"  
Tim Johnson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-07 12:13 AM

Mumia W. wrote:
> On 05/24/2007 05:59 AM, Tim Johnson wrote: 
>
> That rebol binary is too old to run under modern Linuxes. You need a
> modern executable which you can probably get here:
> http://www.rebol.net/builds/

That executable is the one compiled for ubuntu 5.1
(http://www.rebol.net/builds/042/reb...42-ub510.tar.gz)

I downloaded sdk-2705042, which is a build date of March 30,
and extracted the binary.
_exactly_ the same issues.

This problem remains, and to really resolve anything, I need
ld-linux.so.2
Where can I get it? Must be part of some package, right?
Thank you
Tim





[ Post a follow-up to this message ]



    Re: Error Message: "No such file or directory"  
Tim Johnson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-07 12:13 AM

Tim Johnson wrote:
<...>
> This problem remains, and to really resolve anything, I need
> ld-linux.so.2
> Where can I get it? Must be part of some package, right?

I'm thinking that ld-linux.so.2 is part of the ldso dynamic loader
and appears to be obsoleted. Here is output from apt-get:
"""
sudo apt-get install ldso
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ldso is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libc6-dev libc6
E: Package ldso has no installation candidate
"""






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:54 AM.      Post New Thread    Post A Reply      
Pages (2): [1] 2 »   Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register