From owner-freebsd-arch@FreeBSD.ORG Wed Dec 24 20:22:09 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CF05D698; Wed, 24 Dec 2014 20:22:09 +0000 (UTC) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id B9D6932A0; Wed, 24 Dec 2014 20:22:09 +0000 (UTC) Received: from AlfredMacbookAir.local (c-76-21-10-192.hsd1.ca.comcast.net [76.21.10.192]) by elvis.mu.org (Postfix) with ESMTPSA id 704CF341F853; Wed, 24 Dec 2014 12:22:09 -0800 (PST) Message-ID: <549B2076.9050009@freebsd.org> Date: Wed, 24 Dec 2014 12:22:14 -0800 From: Alfred Perlstein Organization: FreeBSD User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Phil Shafer , Marcel Moolenaar , "Simon J. Gerraty" , Poul-Henning Kamp , freebsd-arch , Konstantin Belousov , adrian@FreeBSD.org Subject: Re: XML Output: libxo - provide single API to output TXT, XML, JSON and HTML References: <201410210217.s9L2HECn097421@idle.juniper.net> <549A5D1E.7020700@freebsd.org> <20141224202021.GQ1396@funkthat.com> In-Reply-To: <20141224202021.GQ1396@funkthat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 20:22:09 -0000 On 12/24/14 12:20 PM, John-Mark Gurney wrote: > Alfred Perlstein wrote this message on Tue, Dec 23, 2014 at 22:28 -0800: >> I see libxo has landed in FreeBSD, but it appears that the userland mods >> to the utilities never made it in? Is my assessment correct? > Some has made it in... and that introduced a new issue... If you have > a system w/ split root and /usr, then you won't be able to use all > the utilities in / because of this: > # ldd `which df` > /bin/df: > libxo.so.0 => /usr/lib/libxo.so.0 (0x800820000) > libutil.so.9 => /lib/libutil.so.9 (0x800a2f000) > libc.so.7 => /lib/libc.so.7 (0x800c41000) > > Notice how df now depends upon a library in /usr which is a big no-no... > > libxo needs to be moved to /lib or we need to rip out the support from > all utilities that live in /... > > Adrian pointed this out already, but hasn't gotten any traction... > I'll move the lib to /lib. What other things are using it? I can't seem to sort it out via grep unfortunately... -Alfred