Re: zfsutils library packages
On 24/11/2013 14:56, Arno Töll wrote:
> We provide those libraries by policy. The Debian policy requires that
> libraries are proper versioned and the name of the binary package
> changes whenever the SONAME changes. This does not really apply to us
> here, because we're the only consumers of these libraries, but since we
> install them to /lib we pretend it was a public library.
>
> I think it's a good idea to get rid of these libraries, and if you look
> into the list archives I already put some effort into that during the
> Wheezy cycle. However, bundling these libraries either means
>
> a) that we statically link them into the binaries
This means we'd be shipping the same code twice (once for zfs(8) and
once for zpool(8)). Not the best way to save space ;-)
> b) that we install the library in a private location which is not looked
> up by a standard linker, e.g. /lib/zfs.
>
> I think there were concerns regarding a) last time, leaving us choice
> b). However, the build system doesn't exactly make it easy to do so I
> think.
Installing to a different directory is easy (c.f. SHLIBDIR). Making the
dynamic linker find the library, I'm not so sure. Hints?
--
Robert Millan
Reply to: