[OE-core] [PATCH] coreutils: fix compile error since use wrong libnss_nis.so

Richard Purdie richard.purdie at linuxfoundation.org
Mon Jul 9 08:46:36 UTC 2018


On Mon, 2018-07-09 at 15:49 +0800, changqing.li at windriver.com wrote:
> From: Changqing Li <changqing.li at windriver.com>
> 
> id: relocation error: /lib/x86_64-linux-gnu/libnss_nis.so.2:
> symbol _nsl_default_nss version GLIBC_PRIVATE not defined in
> file libnsl.so.1 with link time reference
> 
> Recent glibc change removed libnss-nis module from glibc and
> a new recipe libnss-nis.bb was added. After this change,
> we need to include native libnss_nis in coreutils. otherwise,
> with "nis" in host /etc/nssswitch.conf, id will use host
> libnss_nis.so, which will cause above error
> 
> Signed-off-by: Changqing Li <changqing.li at windriver.com>
> ---
>  meta/recipes-core/coreutils/coreutils_8.29.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

I think this would be fixed by a new version of uninative-tarball after
the recent change to include libnss-nis in it. We should probably have
a new release of uninative rather than starting to add these DEPENDS
everywhere...

Cheers,

Richard



More information about the Openembedded-core mailing list