LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-06-2002, 04:49 AM   #1
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
why wont this file and another one execute?


here is the relivent information:

[justin@bingo rdp]$ ls
RDPclient.default rdp.default templates winbox xRDP
[justin@bingo rdp]$ ./xRDP
bash: ./xRDP: No such file or directory
[justin@bingo rdp]$ ldd xRDP
/usr/bin/ldd: ./xRDP: No such file or directory
[justin@bingo rdp]$ nm xRDP
nm: xRDP: no symbols
[justin@bingo rdp]$ file xRDP
xRDP: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked (uses shared libs), stripped
[justin@bingo rdp]$ ls -l xRDP
-rwxr-xr-x 1 justin justin 74860 Jun 5 15:01 xRDP

any ideas what it could be? why wont it execute?

*UPDATE*

Upon further investigation (i ran it on another machine with diff distribution) it says:

./xRDP: error in loading shared libraries: libc.so.5: cannont open shared object file: No such file or directory.

libc.so.5 doesnt exist in my /lib directory only libc.so.6 which is linked to libc-2.1.3.so, so i tried to make a link like so:

and then ran ./xRDP again but it came up with:

ln -s libc-2.1.3.so libc.so.5./xRDP: error in loading shared libraries: ./xRDP: Undefined symbol: __libc_init

so that means that libc-2.1.3.so is not backwardly compatable with libc.so.5? what do i need in order for this to work now?

Last edited by Frustin; 06-06-2002 at 05:08 AM.
 
Old 06-06-2002, 07:44 AM   #2
vfs
Member
 
Registered: Apr 2002
Location: Brazil
Distribution: Slackware
Posts: 184

Rep: Reputation: 30
well, I think there's no escape: it's an old libc5 binary and you're running a glibc2 system. I'm not an expert in these issues, but had the same problem with maxwell binaries: it runs well in a RH 5.2 system (libc5) and returns the same message you got in my Slackware 8 (glibc2).

I tried to copy old libs to the binary directory, run ldconfig and could make it work... Try to get the sources and compile them...

HTH
 
Old 06-06-2002, 07:47 AM   #3
vfs
Member
 
Registered: Apr 2002
Location: Brazil
Distribution: Slackware
Posts: 184

Rep: Reputation: 30
Ooops!!! Typo!!! I COULDN'T make it run... Sorry!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mozilla FireFox 1.0 wont execute on Linux SuSE 9.1 Personel.. DesyphER Linux - Software 12 03-13-2005 11:56 PM
execute .el file balloon Linux - Software 2 11-16-2004 07:02 AM
how to execute .sh file sagar Linux - Software 4 11-05-2004 07:21 PM
how to execute a file malik Linux - Software 1 06-10-2004 09:53 PM
Cannot execute binary file??? Wimpie22 Linux - General 3 01-11-2004 05:38 PM


All times are GMT -5. The time now is 05:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration