All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Smith <msmith@cbnco.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: glibc_2.6.1.bb - dangling symlink to /lib/libcidn-2.6.1.so
Date: Wed, 17 Jun 2009 18:25:47 -0400	[thread overview]
Message-ID: <4A396D6B.2030505@cbnco.com> (raw)
In-Reply-To: <05DB01B9-1334-4650-873E-96B20CAC9D8C@mac.com>

Elvis Dowson wrote:

> NOTE: the following files were installed but not shipped in any package:
> NOTE:   /lib/libmemusage.so
> NOTE:   /lib/libcidn-2.6.1.so
 > NOTE: glibc contains dangling symlink to /lib/libcidn-2.6.1.so

Hi Elvis,

I don't think it's going to hurt. Bottom line, the fix is probably to 
add ${base_libdir}/libcidn-*.so and ${base_libdir}/libcidn*.so.* to 
libc_baselibs in glibc-package.bbclass, but you aren't likely to use the 
functionality provided by this library.

libcidn is a glibc add-on that allows getaddrinfo() to resolve domain 
names with special characters. It's enabled by default in libc_2.6.1.bb:

GLIBC_ADDONS ?= "ports,nptl,libidn"

But a lot of machines override it, so I guess many people never see this 
libcidn:

conf/machine/x86.conf:GLIBC_ADDONS = "nptl"

Recently glibc-package.bbclass was changed to have a whitelist of 
libraries in order to prevent unneeded .a files from being shipped. The 
whitelist doesn't contain libcidn-*.so. It does contain "libc*.so.*" 
which is why you get the symlink (libcidn.so.1).

> NOTE: Multiple libraries (libnss_nisplus.so.2, libnss_hesiod.so.2, 
> libnss_nis.so.2) found, but LEAD_SONAME 'libc.so' doesn't match any of them
> NOTE: Running task 548 of 581 (ID: 204, 
> /tool/overo-oe/org.openembedded.dev/recipes/gcc/gcc-cross_4.3.3.bb, 
> do_configure)

LEAD_SONAME is set to "libc.so", but maybe it should be 
LEAD_SONAME_${PN} instead so it doesn't leak into glibc-extra-nss, etc. 
I don't use this feature so I can't say for sure, but I doubt it really 
breaks anything.

> NOTE: Couldn't find shared library provider for libgcc_s.so.1

Do you have /lib/libgcc_s.so.1 in your rootfs? If so, it found a way in 
somehow in spite of this warning.

You could also set:

ASSUME_SHLIBS += "libgcc_s.so.1:libgcc"

(cribbed from openwrt-sdk -- but I wonder if it should be global?)

Mike



  reply	other threads:[~2009-06-17 22:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-17 12:00 glibc_2.6.1.bb - dangling symlink to /lib/libcidn-2.6.1.so Elvis Dowson
2009-06-17 22:25 ` Michael Smith [this message]
2009-06-17 22:32   ` Phil Blundell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A396D6B.2030505@cbnco.com \
    --to=msmith@cbnco.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.