ld.so.1: Xorg: fatal: libXfont.so.1: open failed: No such file or
directory
ld.so.1: Xorg: fatal: relocation error: file /usr/X11/bin/Xorg: symbol
FontFileBitmapSources: referenced symbol not found
Tue Jan 6 15:26:33 2009
error (pid 572): Server unexpectedly died
From terminal I got:
bash$ find /usr | grep libXfont.so.1
/usr/X11/lib/X11/xserver/libXfont.so.1
I think I should make a symbolic link to file into the directory where
xorg searches the file and doesn't find. Tell me where to make this
link..
And how to resolve the second error?
http://catb.org/esr/faqs/smart-questions.html
And then you might start by telling us which version of Solaris you are
using and which hardware platform, X86 or SPARC, you are running it on!
I am using Solaris 10 update 6 on an intel x86.
$ ldd -s /usr/X11/bin/Xorg
find object=libXfont.so.1; required by /usr/X11/bin/Xorg
search path=/usr/sfw/lib:/usr/X11/lib/X11/xserver:/usr/openwin/
lib (RPATH f
rom file /usr/X11/bin/Xorg)
trying path=/usr/sfw/lib/libXfont.so.1
trying path=/usr/X11/lib/X11/xserver/libXfont.so.1
libXfont.so.1 => /usr/X11/lib/X11/xserver/libXfont.so.
1
[and many more lines]
So that looks like the correct location.
It says libXfont.so.1.
Please tell me which package provide this object. I have xorg-
clientlibs, xwpft etc already installed in the system.
The Solaris package system will tell you what package. All
you have to do is ask it:
pkgchk -l -p /pathname/
--
Christopher Mattern
NOTICE
Thank you for noticing this new notice
Your noticing it has been noted
And will be reported to the authorities
I applied this command.
bash# pkgchk -l -p /usr/X11/lib/X11/xserver/libXfont.so.1
Pathname: /usr/X11/lib/X11/xserver/libXfont.so.1
Type: symbolic link
Source of link: libXfont.so.1.4.1
Referenced by the following packages:
SUNWxorg-server
Current status: installed
It seems /usr/X11/lib/X11/xserver/libXfont.so.1 is linked to
libXfont.so.1.4.1
Is it okay or matches with you?
After re-installing package SUNWxorg-server, both problems are solved.
I have got my GUI back. I shall never mix packages of different
distributions again!
Thanks again.