Page 1 of 2

GDM libGL.so.1 missing

Posted: Fri Dec 04, 2009 13:45
by warp4ever
I'm new to Sabayon,(but not to Linux) and did a fresh install of v. 5.0 & Gnome.
Everything worked well, (exept Nautilus which would not start) and I did the update as asked, and after 45 minutes or so I rebooted to have a fresh session.
Oops, boot goes fine upto : "error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory" and so the desktop failes to start.
In both regular and safe mode: starting "gdm" or "startx" after login gives the same error.
I'm stuck.
Any ideas

Thanks

Re: GDM libGL.so.1 missing

Posted: Fri Dec 04, 2009 14:03
by Fitzcarraldo
I searched the SL Forums and found the following threads. Perhaps they will help if you're using an ATI GPU: libGL.so.1 missing, Re: spritz 0.24.8 64-bit doesn't work, closes right away, or nVidia 180.22 Drivers [Solved] if you use an nVidia GPU. Type "libGL.so.1" into the Search box for the forums and you may come up with some other threads that help if those don't solve your problem.

Re: GDM libGL.so.1 missing

Posted: Fri Dec 04, 2009 19:07
by nuovodna
To solve nautilus start, you have to launch nautilus with this command

nautilus --no-desktop

or uncheck show desktop in nautilus preferences on gconf-editor

Re: GDM libGL.so.1 missing

Posted: Sat Dec 05, 2009 11:48
by Pete333
I run into the same problem and it got solved by installing the following:
xorg-server
xorg-x11
xorg-drivers
xorg-sgml-doctools
xorg-cf-files
mesa
mesa-progs

procedure:
1. after the screen goes blank (after the boot process) press "ctrl-alt-F2"
2. login as "root"
3. type # equo install xorg-server xorg-x11 xorg-drivers xorg-sgml-doctools xorg-cf-files mesa mesa-progs
4. type # reboot

Re: GDM libGL.so.1 missing

Posted: Sun Dec 06, 2009 12:09
by lxnay
The issue is being investigated, it's probably an ebuild issue, "eselect opengl set <your-profile>" fixes it. There's something that invalidates current GL profile.

Re: GDM libGL.so.1 missing

Posted: Sun Dec 06, 2009 12:14
by warp4ever
Thanks for your answers.
What I did was performing a text-based repair/reinstall, wich took about THREE hours.
At least this resulted in regaining a desktop, albeith a very feeble one which crashes after 30 secs or so, or even faster when I try to start anything at all.
The only thing I've changed from the defaults is the gdm config to allow the automatic login.

Re: GDM libGL.so.1 missing

Posted: Sun Dec 06, 2009 14:05
by warp4ever
Well, problem <partly> solved !

I did the reinstall of the X-server, as mentioned here, but to no avail.
(mind you, during install there was a constant warning that ".usr/lib/Libtdb.so.1 is NOT a symlink")
I looked into some X error logs and found no flaws whatsoever.

The only error that ever occurred was during boot-up concerning NFS.
NFS started fine, but connecting to the shares showed an error, but again did not interfere with the boot process.
So for a try I moved "nfs" and "nfsmount" out of /etc/init.d and rebooted.

And now I'm posting this from Firefox AND Sabayon. :D

Which makes Sabayon not very usefull to me at the moment since all my data is on the NFS-shares :cry:
Let's see if I can get NFS working, but all about that in another thread.

Re: GDM libGL.so.1 missing

Posted: Thu Dec 10, 2009 21:24
by ryan_n
I'm curious if this problem is related to one that I've recently encountered.

About 2 weeks ago, I set up a Sabayon 5.0 Virtualbox client on my work laptop (Win XP - old Thinkpad Z60t - x86) and initially things worked great. However, I did a world update sometime this past week, after which, when I tried to run gvim I got the following error:
gvim: symbol lookup error: gvim: undefined symbol: PL_stack_sp
I ran 'revdep-rebuild -p' to see where the problem might be, and I found that a very large number of packages were broken because they required '/usr/lib/libGL.la'. Everything works fine if I rollback my Virtualbox image to one that I backed up last weekend, so I'm fairly sure that the problem occurred with one of the most recent package updates.
I tried the fixes recommended in this post, but have not had any luck.
Is my problem related to the OP's or am I doing something else wrong?

Thanks

Re: GDM libGL.so.1 missing

Posted: Thu Dec 10, 2009 22:13
by joost
The perl / vim issue is a different issue and its resolved in the tree.

Re: GDM libGL.so.1 missing

Posted: Tue Dec 15, 2009 6:21
by HikariSoren
I had the same error, but reinstalling x server with the above commands and the eselect opengl nvidia(i am actually using a nvidia legacy driver, 173, or something like that). I also ran on other problem, my desktop kept blinking with my icons and the cpu use was really high. Solved it using equo install gtk+, just in case someone runs in the same problem.