Xorg upgrade (wrong library) issue [more info]
Tuc at T-B-O-H.NET
ml at t-b-o-h.net
Mon Jul 23 23:16:20 UTC 2007
> 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
> 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
2) portupgrade then realized it needed mkfontscale so started to work
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
> (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?
More information about the freebsd-questions