[OE-core] Issue with pseudo on 64-bit build host

Laurentiu Palcu laurentiu.palcu at intel.com
Wed Jun 26 13:30:50 UTC 2013


On Wed, Jun 26, 2013 at 11:33:17AM +0200, Erik Botö wrote:
> Hi,
> 
> In bitbake.conf FAKEROOTBASEENV is set to contain
> "PSEUDO_LIBDIR=${STAGING_BINDIR_NATIVE}/../lib/pseudo/lib" but on my
> buildhost libpseudo.so is in
> ${STAGING_BINDIR_NATIVE}/../lib/pseudo/lib64.
> 
> For me this causes rpm:s that use qemu_run_binary() to do stuff during
> do_rootfs() (using post-install scripts) to fail, since ld.so can't
> find libpseudo.so it gives an error that contains "ERR" which
> package_rpm.bbclass rpm_log_check() picks up.

What's the exact error you're seeing? Is it the one listed below?

ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded:
ignored.

This error appears if we run qemu inside pseudo. That's why we use
PSEUDO_UNLOAD=1 in front of the qemu command. However, qemu_run_binary()
already does that...

More info would be helpful.

Laurentiu

> 
> I git confused for a while since the command used in the post-install
> script worked ok in a devshell but not during do_rootfs(), but this is
> due to the fact that LD_LIBRARY_PATH in the devshell contains:
> <mybuilddir>/tmp/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64 . I
> couldn't find where this was added to LD_LIBRARY_PATH for devshells
> though.
> 
> Cheers,
> Erik Botö
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list