[oe] [PATCH 9/9] glibc: fix LD_LIBRARY_PATH
Frans Meulenbroeks
fransmeulenbroeks at gmail.com
Wed Jul 14 21:08:45 UTC 2010
2010/7/12 Adrian Alonso <aalonso00 at gmail.com>
> * Configure fails due to LD_LIBRARY_PATH
> * checking LD_LIBRARY_PATH variable... contains current directory
> * | configure: error:
> * | *** LD_LIBRARY_PATH shouldn't contain the current directory when
> * | *** building glibc. Please change the environment variable
> * | *** and run configure again.
>
This surprises me very much as others also use glibc 2.9 (I assume).
Can you take this up with the glibc maintainer?
>
> Signed-off-by: Adrian Alonso <aalonso00 at gmail.com>
> ---
> recipes/glibc/glibc_2.9.bb | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/glibc/glibc_2.9.bb b/recipes/glibc/glibc_2.9.bb
> index e7ab63d..4196704 100644
> --- a/recipes/glibc/glibc_2.9.bb
> +++ b/recipes/glibc/glibc_2.9.bb
> @@ -5,7 +5,7 @@ ARM_INSTRUCTION_SET = "arm"
> PACKAGES_DYNAMIC = "libc6*"
> RPROVIDES_${PN}-dev = "libc6-dev virtual-libc-dev"
>
> -PR = "${INC_PR}.3"
> +PR = "${INC_PR}.4"
>
> # the -isystem in bitbake.conf screws up glibc do_stage
> BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
> @@ -143,6 +143,7 @@ do_configure () {
> exit 1
> fi
> (cd ${S} && gnu-configize) || die "failure in running gnu-configize"
> + export LD_LIBRARY_PATH=`echo ${LD_LIBRARY_PATH} | sed 's/^://'`
> CPPFLAGS="" oe_runconf
> }
>
> --
> 1.7.1.1
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
More information about the Openembedded-devel
mailing list