Xorg upgrade (wrong lib/ld path)

Tuc at T-B-O-H.NET ml at t-b-o-h.net
Tue Jul 24 17:07:38 UTC 2007


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
> 
> Hi,
> 
> 	Sorry to bring this to the x11 list, but my system is pretty much
> still in the middle of the upgrade and I can't take this laptop with me
> anywhere until I can finish. :)
> 
> 	Summary - I have about 1900 pcf files that are probably useless
> due to problems with bdftopcf. Since /usr/X11R6/lib is in the library
> list before /usr/local/lib, I see :
> 
> 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)
> 
> 	which I can't understand how anyone ever got bdftopcf to work
> during upgrade. It linked fine since there was an -L/usr/local/lib in 
> the cc line, but during its execution it seems to be taking it from my
> library path, which causes it to complain of a Undefined reference to
> serverClient in libXfont.
> 
> 	The original Xfont was put in as part of the meta port
> xorg-libraries-6.9.0 . It seems this Xfont came about, without the other
> one being deleted as follows :
> 
> 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.
> 
>  	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
> 



More information about the freebsd-x11 mailing list