Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2007 19:15:51 -0400 (EDT)
From:      "Tuc at T-B-O-H.NET" <ml@t-b-o-h.net>
To:        cyberleo@cyberleo.net (CyberLeo Kitsana)
Cc:        "Tuc at T-B-O-H.NET" <ml@t-b-o-h.net>, freebsd-questions@freebsd.org
Subject:   Re: Xorg upgrade (wrong library) issue [more info]
Message-ID:  <200707232315.l6NNFpFa063011@himinbjorg.tucs-beachin-obx-house.com>
In-Reply-To: <46A4F377.4000303@cyberleo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707232315.l6NNFpFa063011>