Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jul 2007 13:08:14 -0400 (EDT)
From:      "Tuc at T-B-O-H.NET" <ml@t-b-o-h.net>
To:        ml@t-b-o-h.net (Tuc at T-B-O-H.NET)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Xorg upgrade (wrong library) issue [more info]
Message-ID:  <200707241708.l6OH8EjM078546@himinbjorg.tucs-beachin-obx-house.com>
In-Reply-To: <200707232315.l6NNFpFa063011@himinbjorg.tucs-beachin-obx-house.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hi,

	And yes, I did do according to the instructions :

Script started on Mon Jul 23 00:05:00 2007
himinbjorg# setenv XORG_UPGRADE yes
himinbjorg# portupgrade -Rfi libXft
--->  Session started at: Mon, 23 Jul 2007 00:05:34 -0400
--->  Reinstallation of x11/xproto started at: Mon, 23 Jul 2007 00:05:38 -0400
--->  Reinstalling 'xproto-7.0.10' (x11/xproto)
OK? [yes] 
--->  Build of x11/xproto started at: Mon, 23 Jul 2007 00:05:42 -0400


	So not sure why I'm running into this and the rest of the world
didn't. If the path to the old one is before the new one, no one should
have gotten it to work... Or did I do something wrong or have a 
"special situation"?

		Thanks, Tuc


> 
> > 
> > Tuc at T-B-O-H.NET wrote:
> > > <snip>
> > > himinbjorg# ldd work/bdftopcf-1.0.1/bdftopcf
> > > work/bdftopcf-1.0.1/bdftopcf:
> > > 	libXfont.so.1 => /usr/X11R6/lib/libXfont.so.1 (0x28080000)
> > > 	libc.so.5 => /lib/libc.so.5 (0x280e6000)
> > > 
> > > 	WHY when the cc step is stating -L/usr/local/lib is it bring the
> > > Xfont from /usr/X11R6/lib?
> > > 
> > 
> > Because /usr/X11R6 is a symlink to /usr/local,
> >
> drwxr-xr-x  16 root  wheel  512 Jul 22 22:02 /usr/X11R6
> 
> 	Not yet... I haven't finished the upgrade. I'm still mid upgrade.
> I won't go any further until I find out whats happening. So thats not
> the case.
> >
> > and both appear in the
> > library path hints, so the first one listed gets used when resolving the
> > library paths at runtime.
> >
> 	So how did everyone else in the world get away without running 
> into this? I see that it initially was put into /usr/X11R6 as part of
> xorg-libraries-6.9.0 . The additional Xfont came about because :
> 
> 1) portupgrade was upgrading xorg-fonts-encodings-6.9.0_1 to 
> 	encodings-1.0.2,1
> 2) portupgrade then realized it needed mkfontscale so started to work
> 	on that
> 3) mkfontscale needed libfontenc
> 
> 4) With those 2 resolved, it then went for bdftopcf
> 
> 5) bdftopcf needed libXfont
> 
> 	So at this point it was installing libXfont when it already had
> the one from xorg-libraries-6.9.0 there, hence the problem apparently
> started.
>  
> > (Hint: 'strings /var/run/ld-elf.so.hints' and 'ldconfig -r')
> > 
> 	Ok, so what do I do now? I'm mid build, I don't have X installed
> or running, and I have atleast 1894 font files that are incorrect at the
> current moment.... I still don't get why I ran into this and others didn't.
> Did I miss a step that would have removed the xorg-libraries?
> 
> 			Thanks, Tuc
> 




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?200707241708.l6OH8EjM078546>