Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Dec 2014 12:20:21 -0800
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Alfred Perlstein <alfred@freebsd.org>
Cc:        adrian@freebsd.org, Marcel Moolenaar <marcel@freebsd.org>, Phil Shafer <phil@juniper.net>, "Simon J. Gerraty" <sjg@juniper.net>, Poul-Henning Kamp <phk@phk.freebsd.dk>, freebsd-arch <freebsd-arch@freebsd.org>, Konstantin Belousov <kostikbel@gmail.com>
Subject:   Re: XML Output: libxo - provide single API to output TXT, XML, JSON and HTML
Message-ID:  <20141224202021.GQ1396@funkthat.com>
In-Reply-To: <549A5D1E.7020700@freebsd.org>
References:  <201410210217.s9L2HECn097421@idle.juniper.net> <549A5D1E.7020700@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141224202021.GQ1396>