Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Adrian Alonso <aalonso00@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH 9/9] glibc: fix LD_LIBRARY_PATH
Date: Mon, 12 Jul 2010 14:45:50 -0500	[thread overview]
Message-ID: <1278963950-2587-9-git-send-email-aalonso00@gmail.com> (raw)
In-Reply-To: <1278963950-2587-1-git-send-email-aalonso00@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.

Signed-off-by: Adrian Alonso <aalonso00@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




  parent reply	other threads:[~2010-07-12 19:49 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-12 19:45 [PATCH 1/9] xilinx-virtex4: new file Adrian Alonso
2010-07-12 19:45 ` [PATCH 2/9] xilinx-virtex5: " Adrian Alonso
2010-07-13  6:11   ` Frans Meulenbroeks
2010-07-12 19:45 ` [PATCH 3/9] linux-xilinx: new files Adrian Alonso
2010-07-13  6:12   ` Frans Meulenbroeks
2010-07-14 21:07     ` Frans Meulenbroeks
2010-07-14 21:19       ` Adrian Alonso
2010-07-16 16:45         ` Adrian Alonso
2010-07-12 19:45 ` [PATCH 4/9] xilinx-linux: new kernel recipe Adrian Alonso
2010-07-13  6:10   ` Frans Meulenbroeks
2010-07-12 19:45 ` [PATCH 5/9] u-boot-xilinx: new file Adrian Alonso
2010-07-12 19:45 ` [PATCH 6/9] xilinx-bsp: handle more xilinx targets Adrian Alonso
2010-07-12 19:45 ` [PATCH 7/9] xserver-kdrive-common: xilinx virtex5 support Adrian Alonso
2010-07-14 21:12   ` Frans Meulenbroeks
2010-07-15  7:08   ` Marcin Juszkiewicz
2010-07-16 15:30     ` Adrian Alonso
2010-07-12 19:45 ` [PATCH 8/9] xorg-xserver-conf: virtex5 machine support Adrian Alonso
2010-07-12 19:45 ` Adrian Alonso [this message]
2010-07-14 21:08   ` [PATCH 9/9] glibc: fix LD_LIBRARY_PATH Frans Meulenbroeks
2010-07-13  6:01 ` [PATCH 1/9] xilinx-virtex4: new file Frans Meulenbroeks
2010-07-13 16:00   ` Adrian Alonso
2010-07-13 20:46     ` Frans Meulenbroeks
2010-07-13 22:52       ` Adrian Alonso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1278963950-2587-9-git-send-email-aalonso00@gmail.com \
    --to=aalonso00@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox