LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 09-16-2003, 03:46 AM   #1
Baran
Member
 
Registered: Aug 2003
Location: Tampere-FINLAND
Distribution: Mandrake 10.1
Posts: 105

Rep: Reputation: 15
Am I in trouble !


I got this error at the boot:

This occured after Matlab GUI crashed on KDE;

/bin/date: error while loading shared library
libraries: librt.so.1 cannot open shared object file: No such file or directory

after that booting goes on, and the when the system is done, X doesn't start instead I get this:

INIT: Id "x" respawning too fast: diabled for 5 minutes




Up to now I tried these:
1) I manually created link for librt.so.1 to librt-2.3.2.so because when I look at file information for librt.so.1, it was saying that it is a broken link to lijrt-2.3.2.so so I thought it should be librt-2.3.2.so

2)Then I tried /bin/date again
[root@localhost root]# /bin/date
/bin/date: error while loading shared libraries: /lib/librt.so.1 : invalid ELF header

3) then
[root@localhost root]# ldconfig
ldconfig: /lib/librt-2.3.2.so is not an ELF file-it has the wrong magic bytes at the start
/lib/librt.so.1 is not an ELF file-it has the wrong magic bytes at the start
usr/lib/librt.so is not an ELF file-it has the wrong magic bytes at the start

I then thought that I may be massing things up and modified the librt.so.1 as it were before linking lijrt-2.3.2.so, afterwards


4) Boot from CD, then

bash-2.05b# ldconfig -r /mnt/sysimage
ldconfig: /lib/librt-2.3.2.so is not an ELF file-it has the wrong magic bytes at the start

5)
bash-2.05b# rpm --root /mnt/sysimage -qf /mnt/sysimage/lib/librt-2.3.2.so
file /mnt/sysimage/lib/librt-2.3.2.so is not owned by any package

6) I tried these also
bash-2.05b# rpm --root /mnt/sysimage --force -ivh elfutils-libelf-0.76-3.i386.rpm
/sbin/ldconfig: /lib/librt-2.3.2.so is not an ELF file-it has the wrong magic bytes at the start
rpm db:/var/lib/rpm/Triggername: No such file or directory
rpm db:/var/lib/rpm/Triggername: cannot sync:No such file or directory
error:db4 error(2) from dbenv-> close: No such file or directory


I guess I wrote everything...

what can be done now?
 
Old 09-16-2003, 07:01 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
//crosspost, please do not add to this thread.
 
Old 09-16-2003, 07:13 AM   #3
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
don't know, but maybe you could reinstall librt.so.1.

It's a part of GLIBC so you could also try reinstalling that from your CD or whatever.



**Oops, sorry unSpawn**
 
  


Closed Thread


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
x trouble mithereal Debian 1 08-25-2005 01:56 PM
trouble% rawinn Linux - Software 3 02-27-2004 02:24 AM
trouble ahead, trouble behind....trouble with mplayer Goonie Linux - Software 3 07-02-2003 03:29 AM
I'm in trouble GT I.N.C Linux - Newbie 123 10-13-2002 03:29 PM
Kernel Trouble (Not actually trouble though) chem1 Linux - General 4 10-01-2002 02:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:43 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