XML Output: libxo - provide single API to output TXT, XML, JSON and HTML

Alfred Perlstein alfred at freebsd.org
Wed Dec 24 20:22:09 UTC 2014


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


More information about the freebsd-arch mailing list