You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Saturday, April 3rd 2004, 11:39pm

Problems with shared libraries

hey everybody,
i am using KDE 3.2 on Fedora Core 1 and cannot start KDE anymore. on starup, i get an error message saying that there was an error while loading shared libraries libGL.so.1 . After getting this error message, i am forced to launch my linux with another desktop manager (i use gnome as an alternative). Can anybody help me to get my KDE working again? i've looked all over the internet and obviously i'm the only one having this problem...
What should i do? uninstall and reinstall KDE??
any help would be useful, thank you very much
shorty

seb

Professional

Posts: 622

Location: Sydney

Occupation: Student

  • Send private message

2

Sunday, April 4th 2004, 4:17am

[code:1][seb@localhost lib]$ ln -s libGL.so libGL.so.1
[/code:1]


Sure, so its a bit of a hack - but it works.

3

Sunday, April 4th 2004, 8:28am

first of all, i want to thank you for taking the time to reply, however, your request doesn't appear to be working. i may have done something wrong i don't know. i opened a terminal and typed the following command lines:

[root@localhost root]# cd /lib
[root@localhost lib]# ln -s libGL.so libGL.so.1

then i tried starting kde again and got the same error messages that i had before:
kdplash: error while loading shared libraries: libGL.so.1: cannot open shared object file: no such file or directory
kdeinit: error while loading shared libraries: libGL.so.1: cannot open shared object file: no such file or directory
startkde: could not start kdeinit. check your installation.

any suggestions are welcomed
thanks
shorty1986[/quote]

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

4

Sunday, April 4th 2004, 10:44am

Check which libGL files are already present


[code:1]
locate libGL
[/code:1]

I get this, among other lines:
[code:1]
/usr/lib/libGL.so
/usr/lib/libGL.so.1
/usr/lib/libGL.so.1.2
[/code:1]

If one of the first two is missing, create a link to the third (usually the real library)

[code:1]
cd /usr/lib
ln -s libGL.s0.1.2 libGL.so
[/code:1]

Cheers,
_
Qt/KDE Developer
Debian User

5

Sunday, April 4th 2004, 12:16pm

i think i found the problem. i did a search for the three files: libGL.so, libGL.so.1, libGL.so.2

i found the two first files:
/usr/lib/libGL.so
/usr/lib/libGL.so.1
as for the third one, it is located in the following directory:
/usr/X11R6/lib/libGL.so.1.2.

and the thing is, for the libGL.so.1 file, in the 'type' section, it says that this file is a link, but it also says that this link is broken. should i therefore create a link to the libGL.so file?? or to the libGL.so.1.2 file??
thank you

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

6

Sunday, April 4th 2004, 12:21pm

the last one should be a real library file.

The other two should be links to it.
If the link is broken, it points to a file which does not exists.

Just delete the link and create a new one pointing to the library file in /usr/X11R6/lib

But check beforehand that this file is really the library.

Cheers,
_
Qt/KDE Developer
Debian User