From owner-freebsd-ports Fri Feb 9 11: 4:38 2001 Delivered-To: freebsd-ports@freebsd.org Received: from sol.cc.u-szeged.hu (sol.cc.u-szeged.hu [160.114.8.24]) by hub.freebsd.org (Postfix) with ESMTP id 6BCC037B69B; Fri, 9 Feb 2001 11:04:14 -0800 (PST) Received: from petra.hos.u-szeged.hu by sol.cc.u-szeged.hu (8.9.3+Sun/SMI-SVR4) id TAA26172; Fri, 9 Feb 2001 19:45:21 +0100 (MET) Received: from sziszi by petra.hos.u-szeged.hu with local (Exim 3.12 #1 (Debian)) id 14RIXp-0007qw-00; Fri, 09 Feb 2001 19:45:21 +0100 Date: Fri, 9 Feb 2001 19:45:21 +0100 From: Szilveszter Adam To: Marcel Moolenaar Cc: freebsd-current@FreeBSD.ORG, ports@freebsd.org Subject: Re: Dangling symlink in /usr/compat/linux Message-ID: <20010209194521.D27987@petra.hos.u-szeged.hu> Mail-Followup-To: Szilveszter Adam , Marcel Moolenaar , freebsd-current@FreeBSD.ORG, ports@freebsd.org References: <3A7D28EA.9EF46BAE@gorean.org> <20010204112342.A15191@petra.hos.u-szeged.hu> <3A7DFC47.C76A9872@FreeBSD.org> <20010205091559.A5563@petra.hos.u-szeged.hu> <3A843594.B28776D8@cup.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A843594.B28776D8@cup.hp.com>; from marcel@cup.hp.com on Fri, Feb 09, 2001 at 10:23:16AM -0800 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello Marcel, On Fri, Feb 09, 2001 at 10:23:16AM -0800, Marcel Moolenaar wrote: > [taken to -ports] I see it nowhere in the headers, so I am going to add a Cc: for it... > The link is correct. On a Redhat 6.2 system: > > dhcp00% cd /mnt/usr/lib > dhcp00% ls -al X11 > lrwxrwxrwx 1 root wheel 16 Jul 18 2000 X11 -> ../X11R6/lib/X11 > dhcp00% more /mnt/etc/redhat-release > Red Hat Linux release 6.2 (Zoot) Which is not the point:-) > > Solution: ? ( Maybe create the directory once we symlink to it? Seems like > > a good idea... ) > > Can you tell me what the problem was. I missed that. The problem if you want it that way, is that although the symlink is created upon installing linux_base, the directory it points to is not. Hence the ${SUBJECT} about a "Dangling symlink". (If you install linux_devtools, the directory is created, since there is a subdir in it. That's why the problem may be harder to detect:-) Maybe it would be a good idea to create a (empty if need be) /usr/compat/linux/usr/X11R6/lib/X11 directory upon installing linux_base? I have no idea how this came up btw, maybe some installation of some third-party sw tried to follow the symlink and got confused? I just tried to react to the problem at hand... > > (Most probably this problem never surfaced before because the maintainers > > had both ports installed on their systems.) > > I do have both ports in fact :-) Me too, that's why I at first very self-confidently posted something along the lines of "It works for me!" which earned blank stares from just about anybody else:-) -- Regards: Szilveszter ADAM Szeged University Szeged Hungary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message