[Buildroot] Glibc LD_LIBRARAY_PATH error

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Jul 1 20:07:03 UTC 2014


Dear Arnout Vandecappelle,

On Tue, 01 Jul 2014 20:11:45 +0200, Arnout Vandecappelle wrote:

> >> > my problem was solved by your solution I mean using "unset LD_LIBRARY_PATH"
> > Ok. I'm not sure why we don't simply unset the LD_LIBRARY_PATH from our
> > main Makefile. Probably we should just do it.
> 
>  I could imagine an ancient build host where the developer has to build his own
> python2.7 or other buildroot-dependencies. Not really realistic, though, because
> then the executable should just set its DT_RPATH/DT_RUNPATH.

Yes.

>  Also, we already have a check for LD_LIBRARY_PATH in dependencies.sh. It just
> doesn't check for empty path elements, only for . path elements.

Well, the idea would be to get rid of this check entirely, and replace
it by a simple unexport in the main Makefile.

What do you think?

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list