Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] external buildroot toolchain: LD_LIBRARY_PATH needed
@ 2011-08-24 14:17 Thomas De Schampheleire
  2011-08-24 14:31 ` Grant Edwards
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas De Schampheleire @ 2011-08-24 14:17 UTC (permalink / raw)
  To: buildroot

Hi,

If I build a buildroot toolchain on machine A, package the
output/host/usr directory and use that as an external toolchain on
machine B, I get errors that cc1 cannot find libmpfr.so.4.
The location of that library is hardcoded in some compiler tools, and
since we are on another machine, the original location does not exist.

I can work around this by specifying
LD_LIBRARY_PATH=<buildroot>/output/host/opt/ext-toolchain/lib in the
environment, but this is an annoying and not so clean solution.

How is this supposed to work?
How do other external toolchains handle this?

Thanks,
Thomas

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

end of thread, other threads:[~2011-09-07 10:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-24 14:17 [Buildroot] external buildroot toolchain: LD_LIBRARY_PATH needed Thomas De Schampheleire
2011-08-24 14:31 ` Grant Edwards
2011-08-25  9:07   ` Thomas De Schampheleire
2011-09-06 14:17     ` Thomas De Schampheleire
2011-09-06 15:24     ` Thomas Petazzoni
2011-09-07 10:37       ` Thomas De Schampheleire

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