[oe] Issue: ldconfig postinst and uclibc

Paul Sokolovsky pmiscml at gmail.com
Wed Feb 20 01:44:07 UTC 2008


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