From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 17:08:20 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DF4E16A417 for ; Tue, 24 Jul 2007 17:08:20 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from vjofn.tucs-beachin-obx-house.com (vjofn-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::5e5]) by mx1.freebsd.org (Postfix) with ESMTP id 4E2DD13C4B0 for ; Tue, 24 Jul 2007 17:08:20 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from himinbjorg.tucs-beachin-obx-house.com (cpe-68-175-8-11.hvc.res.rr.com [68.175.8.11]) (authenticated bits=0) by vjofn.tucs-beachin-obx-house.com (8.12.9/8.12.9) with ESMTP id l6OH8JZQ032814; Tue, 24 Jul 2007 13:08:19 -0400 (EDT) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1]) by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6) with ESMTP id l6OH8EdS078547; Tue, 24 Jul 2007 13:08:14 -0400 (EDT) (envelope-from ml@t-b-o-h.net) Received: (from tbohml@localhost) by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6/Submit) id l6OH8EjM078546; Tue, 24 Jul 2007 13:08:14 -0400 (EDT) (envelope-from tbohml) From: "Tuc at T-B-O-H.NET" Message-Id: <200707241708.l6OH8EjM078546@himinbjorg.tucs-beachin-obx-house.com> To: ml@t-b-o-h.net (Tuc at T-B-O-H.NET) Date: Tue, 24 Jul 2007 13:08:14 -0400 (EDT) In-Reply-To: <200707232315.l6NNFpFa063011@himinbjorg.tucs-beachin-obx-house.com> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Xorg upgrade (wrong library) issue [more info] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2007 17:08:20 -0000 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: > > > > > > 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 >