From: Wade Berrier <wberrier@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] intltool: use built host libexpat during configure
Date: Wed, 07 Sep 2011 07:41:03 -0600 [thread overview]
Message-ID: <j47s9g$n6q$1@dough.gmane.org> (raw)
In-Reply-To: <20110906232416.077d2091@skate>
Hi,
Thanks for the feedback; comments below.
On 09/06/2011 03:24 PM, Thomas Petazzoni wrote:
> Hello,
>
> Le Tue, 6 Sep 2011 13:10:23 -0600,
> Wade Berrier <wberrier@gmail.com> a ?crit :
>
>> HOST_INTLTOOL_DEPENDENCIES = host-libxml-parser-perl
>> HOST_INTLTOOL_CONF_OPT = \
>> - PERLLIB=$(HOST_DIR)/usr/lib/perl
>> + PERLLIB=$(HOST_DIR)/usr/lib/perl \
>> + LD_LIBRARY_PATH=$(HOST_DIR)/usr/lib
>
> Could you give some more details about the problem you're having?
Configure gives this:
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.8.8
checking for XML::Parser... configure: error: XML::Parser perl module
is required for intltool
make: ***
[/home/wberrier/wa/git/buildroot/output/build/host-intltool-0.40.6/.stamp_configured]
Error 1
Running the command that configure is running gives:
[wberrier at localhost]$
PERLLIB=/home/wberrier/wa/git/buildroot/output/host/usr/lib/perl perl -e
"require XML::Parser"
Can't load
'/home/wberrier/wa/git/buildroot/output/host/usr/lib/perl/auto/XML/Parser/Expat/Expat.so'
for module XML::Parser::Expat: libexpat.so.1: cannot open shared object
file: No such file or directory at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
at
/home/wberrier/wa/git/buildroot/output/host/usr/lib/perl/XML/Parser.pm
line 14
Compilation failed in require at
/home/wberrier/wa/git/buildroot/output/host/usr/lib/perl/XML/Parser.pm
line 14.
BEGIN failed--compilation aborted at
/home/wberrier/wa/git/buildroot/output/host/usr/lib/perl/XML/Parser.pm
line 18.
Compilation failed in require at -e line 1.
This is with an older snapshot of buildroot (2010.02). I didn't have
this problem when building on ubuntu 11.04, only rhel5.
So, am I correct when guessing the culprit is Expat.so? (missing rpath
to libexpat.so.1)
>
> There may well be a problem, but I don't really like the
> LD_LIBRARY_PATH solution, because the solution we have chosen to allow
> binaries installed in $(HOST_DIR) to find their libraries is to use the
> rpath mechanism, not to use LD_LIBRARY_PATH. I'd prefer to stick to
> this mechanism.
>
> So we just need to figure out which host binary has been compiled
> without the correct rpath.
>
> Thanks!
>
> Thomas
Thanks again for the feedback,
Wade
next prev parent reply other threads:[~2011-09-07 13:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-06 19:10 [Buildroot] [PATCH] intltool: use built host libexpat during configure Wade Berrier
2011-09-06 21:24 ` Thomas Petazzoni
2011-09-07 13:41 ` Wade Berrier [this message]
2011-09-07 14:11 ` Thomas Petazzoni
2011-09-09 15:40 ` Wade Berrier
2011-09-12 6:52 ` Thomas Petazzoni
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='j47s9g$n6q$1@dough.gmane.org' \
--to=wberrier@gmail.com \
--cc=buildroot@busybox.net \
/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