[oe] Issue: ldconfig postinst and uclibc

Paul Sokolovsky pmiscml at gmail.com
Sat Feb 23 18:26:06 UTC 2008


Hello,

On Fri, 22 Feb 2008 22:53:02 -0800
"Khem Raj" <raj.khem at gmail.com> wrote:

> 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.

I hit this problem building packages for OpenWRT - they don't ship
ldconfig. So, solution #2 would indeed be better. So, I'm going to
apply it, unless there're late objections.

> 
> -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




More information about the Openembedded-devel mailing list