System can't find a library that is there
I am trying to get my Xwindows to work and I am getting the following error:
error while loading shared libraries:libfreetype.so.6:cannot open shared object file:no such file or directory But if I do a which libfreetype.so.6, it is found in /usr/lib. I think that I have a config problem where the library is not being recognized properly, but I haven't been able to resolve it. I am using openSUSE 10.3. Thanks in advance for any help or ideas. |
What's the output of ldconfig -v ?
What does ls -l /usr/lib/libfreetype.so.6 say? Cheers, Tink |
Quote:
For the second question, when I do a ls -l /usr/lib/libfreetype.so.6 it shows it as a link /usr/lib/libfreetype.so.6->libfreetype.so.6.3.16 When I do a ls -l on libfreetype.so.6.3.16 it shows it as a file of size 529780 Thanks for any help. |
What is the output of /usr/bin/Xorg? This should give a list of the shared objects on which the Xorg executable depends along with their absolute path. Please use code tags to embed the copy/pasted output. This is mine on openSuSE 10.3:
Code:
# ldd /usr/bin/Xorg |
Quote:
Thanks for your help. |
Ok. The startx command is a shell script which (most likely) runs the /usr/bin/Xorg executable. I think the problem is simply that for some reason your system misses the libfreetype.so link. Check it and eventually re-create the link as
Code:
# cd /usr/lib |
Quote:
|
Quote:
|
Nice to hear good news! :)
|
All times are GMT -5. The time now is 12:18 AM. |