On Monday, June 15, 2015 09:27:09 AM Adrian Chadd wrote:
> ... this feels like the wrong solution. A really, really wrong solution.
> 
> I was just about to use SHLIBDIR overriding for doing something for
> cross-builds, and now I can't.
> 
> 
> 
> -adrian

FWIW; you can usually use the "I really mean it" override..
SHLIBDIR := /somewhere

Like Baptiste said, this was just to buy time to prevent people from getting 
trashed as a result of doing an installworld when running zfs.  It's more than 
just ZFS, but that's the most visible failure mode.

The failure is that the zfs libraries and libnvpair get installed into 
/usr/lib, but the /sbin zfs binaries use the ones from /lib.  Depending on the 
age of the now-stale copies in /lib, you get undefined symbols.  And if you get 
rid of them, you now have a boot failure if /usr is its own dataset.  delete-
old-libs doesn't help because it thinks that the /lib version is the correct 
one.
-- 
Peter Wemm - pe...@wemm.org; pe...@freebsd.org; pe...@yahoo-inc.com; KI6FJV
UTF-8: for when a ' or ... just won\342\200\231t do\342\200\246

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to