From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 23:16: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 3578C16A41B for ; Mon, 23 Jul 2007 23:16: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 D683A13C46E for ; Mon, 23 Jul 2007 23:16:19 +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 l6NNG0x0012174; Mon, 23 Jul 2007 19:16:01 -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 l6NNFqQ7063012; Mon, 23 Jul 2007 19:15:53 -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 l6NNFpFa063011; Mon, 23 Jul 2007 19:15:51 -0400 (EDT) (envelope-from tbohml) From: "Tuc at T-B-O-H.NET" Message-Id: <200707232315.l6NNFpFa063011@himinbjorg.tucs-beachin-obx-house.com> To: cyberleo@cyberleo.net (CyberLeo Kitsana) Date: Mon, 23 Jul 2007 19:15:51 -0400 (EDT) In-Reply-To: <46A4F377.4000303@cyberleo.net> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: "Tuc at T-B-O-H.NET" , 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: Mon, 23 Jul 2007 23:16:20 -0000 > > 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