[oe] Issue: ldconfig postinst and uclibc

Khem Raj raj.khem at gmail.com
Sat Feb 23 06:53:02 UTC 2008


Hi Paul

ldconfig is provided by uclibc. Maybe we should enable UCLIBC_STATIC_LDCONFIG=y
in default config for uclibc. Idea 2 looks good to me.

-Khem

On Tue, Feb 19, 2008 at 5:44 PM, Paul Sokolovsky <pmiscml at gmail.com> wrote:
> Hello,
>
>  It appears that ldconfig is not available / optional for uclibc. And
>  yet currently package.bbclass adds calling it unconditionally to lib
>  packages' postinst, which causes error messages during install.
>
>  Two solutions:
>
>  1. Add corresponding logic to package.bbclass. But it appears to be
>  hacky to encode such facts there.
>
>  2. Use "[ -x /sbin/ldconfig ] && /sbin/ldconfig" in postinst. Note:
>  currently ldconfig is called without a path.
>
>
>  Thoughts?
>
>  --
>  Best regards,
>   Paul                          mailto:pmiscml at gmail.com
>
>  _______________________________________________
>  Openembedded-devel mailing list
>  Openembedded-devel at lists.openembedded.org
>  http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list