LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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

Reply
 
Search this Thread
Old 03-01-2004, 06:13 AM   #1
zlobby
LQ Newbie
 
Registered: Mar 2004
Location: Germany
Distribution: Knoppix 3.3
Posts: 4

Rep: Reputation: 0
Not loading X;"libX11.so.6 cannot open shared object"


Hi.

I'm working with a Knoppix 3.3 hdinstall (with gnome 2.4) for a few days now and despite a few small problems it was running pretty well so far.
However, without changing any files or directories, firefox crashed and i couldn't execute it anymore, so i vainly attempted a new log-in.

Now though,as I boot linux, X doesn't load anymore. When i type in "gdm" the following error occurs:

error while loading shared libraries: libX11.so.6 cannot open shared object file: no such file or directory.

Does anyone know how this could have occurred and how i can fix it?

Thank you.

Last edited by zlobby; 03-01-2004 at 07:03 AM.
 
Old 03-01-2004, 04:22 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
Look if /usr/X11R6/lib/libX11.so.6 exists (run
ls -l /usr/X11R6/lib/libX11.so.6
for example)
If it doesn't, your XFree installation is broken and you'd need to fix it. Try apt-get install xfree. It'll probably tell you it's already instaled, so type 'apt-get remove xfree' (it'll remove X) and then 'apt-get install xfree' (will install it with all files).
 
Old 03-01-2004, 04:51 PM   #3
zlobby
LQ Newbie
 
Registered: Mar 2004
Location: Germany
Distribution: Knoppix 3.3
Posts: 4

Original Poster
Rep: Reputation: 0
Ok, now i'm quite confused..earlier today as i looked for the file in that directory it wasn't shown.
As i now tried to get xfee, it doesn't find the package (also made an apt-get update before), so i also wasn't able to remove it either.

Now, though, i found libX11.so.6 in /usr/X11R6/lib (somewhat stupefied me, for i'm sure it wasn't there before), but the same problem still occurs while trying to load gdm

also tried apt-get install xlibs --reinstall, as someone recommended, but it didn't seem to help there either

Last edited by zlobby; 03-01-2004 at 04:53 PM.
 
Old 03-01-2004, 05:18 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
What happens when you just try to run 'startx'?
 
Old 03-01-2004, 05:32 PM   #5
zlobby
LQ Newbie
 
Registered: Mar 2004
Location: Germany
Distribution: Knoppix 3.3
Posts: 4

Original Poster
Rep: Reputation: 0
Doesn't find the command.
Also strange is (i assume) that, before being able to type in my user name, following line appeared this time:

'Spurious 8259A interrupt: IRQ7'
 
Old 03-02-2004, 04:51 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
So it looks XFree was removed somehow. You ned to install it again (apt-get install xfree).
 
Old 03-03-2004, 04:30 PM   #7
zlobby
LQ Newbie
 
Registered: Mar 2004
Location: Germany
Distribution: Knoppix 3.3
Posts: 4

Original Poster
Rep: Reputation: 0
Well, it still doesn't find the package. And some other errors occur while trying to
install or remove other packages. I decided to reinstall knoppix, since it seems that most of the libs are screwed up somehow.

Anyhow, thanks for your help
 
  


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
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
"libXm.so.3: cannot open shared object" cbranje Programming 5 02-01-2005 07:27 AM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM
Linux boot hang : "init: error loading shared libraries" colinprice72 Linux - General 0 01-16-2004 09:04 AM
/usr/libexec/ld-elf.so.1: Shared object "libgd.so.4" not found lxxy *BSD 1 12-04-2003 12:01 PM


All times are GMT -5. The time now is 10:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration