LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 09-23-2003, 11:27 AM   #1
chris.hicks
Member
 
Registered: Sep 2003
Location: Newcastle upon Tyne
Distribution: Red Hat 9
Posts: 42

Rep: Reputation: 15
Trouble installing xview-3.2p1.4 on RedHat 9


I have just installed xview-3.2p1.4.bin.tar.gz from
http://www.ibiblio.org/pub/Linux/X/xview
However, when I try to run say cmdtool or textedit I get errors

/usr/openwin/bin
[root@mmme1 bin]# ./cmdtool
bash: ./cmdtool: /lib/ld-linux.so.1: bad ELF interpreter: No such file or directory
[root@mmme1 bin]#

It seems that /lib/ld-linux.so.1 does not exist, which is confirmed by:
[root@mmme1 lib]# pwd
/lib
[root@mmme1 lib]# ls ld-*
ld-2.3.2.so ld-linux.so.2 ld-lsb.so.1
[root@mmme1 lib]#

I would be very grateful if you would help me.

Many thanks,
Chris
 
Old 09-23-2003, 09:51 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
You might try making /lib/ld-linux.so.1 a symbolic link to /lib/ld.2.3.2.so

Last edited by jailbait; 09-23-2003 at 09:53 PM.
 
Old 09-24-2003, 03:30 AM   #3
chris.hicks
Member
 
Registered: Sep 2003
Location: Newcastle upon Tyne
Distribution: Red Hat 9
Posts: 42

Original Poster
Rep: Reputation: 15
Dear Steve,
I tried your suggestion, but I am getting an error due to another missing library now:
[root@mmme1 lib]# cd /usr/openwin/bin
[root@mmme1 bin]# ./cmdtool
./cmdtool: error while loading shared libraries: libc.so.5: cannot open shared object file: No such file or directory

By the way the contents of /lib is:
[root@mmme1 lib]# ls
cpp libext2fs.so.2 libnss_nis.so.1
evms libext2fs.so.2.4 libnss_nis.so.2
i686 libgcc_s-3.2.2-20030225.so.1 libnss_winbind.so
iptables libgcc_s.so.1 libnss_winbind.so.2
kbd libiw.so.25 libnss_wins.so
ld-2.3.2.so liblvm-10.so libnss_wins.so.2
ld-linux.so.1 liblvm-10.so.1 libpamc.so.0
ld-linux.so.2 liblvm-10.so.1.0 libpamc.so.0.75
ld-lsb.so.1 libm-2.3.2.so libpam_misc.so.0
libacl.so libm.so.6 libpam_misc.so.0.75
libacl.so.1 libNoVersion-2.3.2.so libpam.so.0
libacl.so.1.0.3 libNoVersion.so.1 libpam.so.0.75
libanl-2.3.2.so libnsl-2.3.2.so libpcre.so.0
libanl.so.1 libnsl.so.1 libpcre.so.0.0.1
libattr.so libnss1_compat-2.3.2.so libproc.so.2.0.11
libattr.so.1 libnss1_compat.so.1 libpthread-0.10.so
libattr.so.1.0.1 libnss1_dns-2.3.2.so libpthread.so.0
libBrokenLocale-2.3.2.so libnss1_dns.so.1 libpwdb.so.0
libBrokenLocale.so.1 libnss1_files-2.3.2.so libpwdb.so.0.62
libc-2.3.2.so libnss1_files.so.1 libresolv-2.3.2.so
libcap.so libnss1_nis-2.3.2.so libresolv.so.2
libcap.so.1 libnss1_nis.so.1 librt-2.3.2.so
libcap.so.1.10 libnss_compat-2.3.2.so librt.so.1
libcom_err.so.2 libnss_compat.so.1 libSegFault.so
libcom_err.so.2.0 libnss_compat.so.2 libssl.so.0.9.6b
libcrypt-2.3.2.so libnss_db.so.1 libssl.so.0.9.7a
libcrypto.so.0.9.6b libnss_db.so.1.0.0 libssl.so.2
libcrypto.so.0.9.7a libnss_db.so.2 libssl.so.4
libcrypto.so.2 libnss_db.so.2.0.0 libss.so.2
libcrypto.so.4 libnss_dns-2.3.2.so libss.so.2.0
libcrypt.so.1 libnss_dns.so.1 libtermcap.so.2
libc.so.6 libnss_dns.so.2 libtermcap.so.2.0.8
libdb2.so.3 libnss_files-2.3.2.so libthread_db-1.0.so
libdb-3.1.so libnss_files.so.1 libthread_db.so.1
libdb-3.2.so libnss_files.so.2 libutil-2.3.2.so
libdb-3.3.so libnss_hesiod-2.3.2.so libutil.so.1
libdb-4.0.so libnss_hesiod.so.2 libuuid.so.1
libdb.so.3 libnss_ldap-2.3.1.so libuuid.so.1.2
libdl-2.3.2.so libnss_ldap.so.2 lsb
libdl.so.2 libnss_nis-2.3.2.so modules
libe2p.so.2 libnss_nisplus-2.3.2.so security
libe2p.so.2.3 libnss_nisplus.so.2 tls

Thanks for your help.
Chris
 
Old 09-24-2003, 10:08 AM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
" error while loading shared libraries: libc.so.5"

Try the same solution. Find a file in /lib that is libc and symbolically link libc.co.5 to it. My libc is called /lib/libc.so.6

You should be OK as long as your libc version is later than version 5.
 
Old 09-24-2003, 10:50 AM   #5
chris.hicks
Member
 
Registered: Sep 2003
Location: Newcastle upon Tyne
Distribution: Red Hat 9
Posts: 42

Original Poster
Rep: Reputation: 15
[I have followed Steve's suggestion, but have now got other errors.

root@mmme1 bin]# ./cmdtool
./cmdtool
./cmdtool: relocation error: ./cmdtool: undefined symbol: __libc_init

I also found xview as a RH8 package:
http://www.physionet.org/physiotools....4-16.i386.rpm

It seemed to install, but then generated the same errors. I also tried to install the rpm source files, but that did not seem to work.

Xview seems quite illusive, but I really could do with it because I have a load of 'legacy' software I wrote 8-9 years ago which uses xview.

Thanks again,
Chris
 
Old 09-24-2003, 08:51 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
The error: undefined symbol: __libc_init
may mean that libc.so.5 is not symbolicly linked to the real libc. Try linking libc.so.5 to libc-2.3.2.so instead.
 
  


Reply



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
Trouble With Linux Redhat 5.2 Installing furty Linux - Hardware 6 01-06-2005 07:55 AM
Trouble installing ndiswrapper in redhat digislime Linux - Software 0 08-12-2004 09:19 PM
trouble installing Novell client on Redhat 9 bcdss_cbh Linux - Networking 0 06-11-2004 02:43 PM
Trouble Installing Most rpm's on Redhat 9 danielsj Linux - Software 0 04-19-2004 02:30 PM
having trouble installing redhat 8 on my pc Bigpolk Linux - General 10 03-23-2003 07:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:21 AM.

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
Open Source Consulting | Domain Registration