Openembedded Core Discussions
 help / color / mirror / Atom feed
* Issue with pseudo on 64-bit build host
@ 2013-06-26  9:33 Erik Botö
  2013-06-26 13:30 ` Laurentiu Palcu
  0 siblings, 1 reply; 4+ messages in thread
From: Erik Botö @ 2013-06-26  9:33 UTC (permalink / raw)
  To: openembedded-core

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.

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ö


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-06-26 17:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-26  9:33 Issue with pseudo on 64-bit build host Erik Botö
2013-06-26 13:30 ` Laurentiu Palcu
2013-06-26 17:05   ` Erik Botö
2013-06-26 17:43     ` Peter Seebach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox