Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [V4 3/3] package/perl-db-file: Fix berkeleydb detection
Date: Sun, 13 Dec 2015 16:01:07 +0100	[thread overview]
Message-ID: <20151213160107.2d31a09d@free-electrons.com> (raw)
In-Reply-To: <1449411276-27492-4-git-send-email-francois.perrad@gadz.org>

Dear Francois Perrad,

On Sun,  6 Dec 2015 15:14:36 +0100, Francois Perrad wrote:
> Without this patch libdb.so is not detected and
> lib/perl5/site_perl/5.22.0/i586-linux/auto/DB_File/DB_File.so
> is not linked against it:
> 
> Parsing config.in...
> Looks Good.
> Checking if your kit is complete...
> Looks good
> Warning (mostly harmless): No library found for -ldb
> Generating a Unix-style Makefile
> Writing Makefile for DB_File
> Writing MYMETA.yml and MYMETA.json
> >>> perl-db-file 1.835 Building
> 
> $ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/lib/perl5/site_perl/5.22.0/i586-linux/auto/DB_File/DB_File.so | grep NEEDED
>  0x00000001 (NEEDED)                     Shared library: [libc.so.1]
> 
> After applying this patch configure output will look like this:
> 
> Parsing config.in...
> Looks Good.
> Checking if your kit is complete...
> Looks good
> Generating a Unix-style Makefile
> Writing Makefile for DB_File
> Writing MYMETA.yml and MYMETA.json
> >>> perl-db-file 1.835 Building
> 
> and the resulting library is correctly linked against libdb:
> 
> $ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/lib/perl5/site_perl/5.22.0/i586-linux/auto/DB_File/DB_File.so | grep NEEDED
>  0x00000001 (NEEDED)                     Shared library: [libdb-5.3.so]
>  0x00000001 (NEEDED)                     Shared library: [libc.so.1]
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/perl-db-file/perl-db-file.mk | 8 ++++++++
>  1 file changed, 8 insertions(+)

Applied, thanks.

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

      reply	other threads:[~2015-12-13 15:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-06 14:14 [Buildroot] [V4 0/3] SpamAssassin Francois Perrad
2015-12-06 14:14 ` [Buildroot] [V4 1/3] pkg-perl: avoid insertion of host-perl in shebang of scripts Francois Perrad
2015-12-13 14:56   ` Thomas Petazzoni
2015-12-06 14:14 ` [Buildroot] [V4 2/3] perl-mail-spamassassin: new package Francois Perrad
2015-12-13 15:00   ` Thomas Petazzoni
2015-12-13 16:12     ` François Perrad
2015-12-13 17:57       ` Thomas Petazzoni
2015-12-06 14:14 ` [Buildroot] [V4 3/3] package/perl-db-file: Fix berkeleydb detection Francois Perrad
2015-12-13 15:01   ` Thomas Petazzoni [this message]

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=20151213160107.2d31a09d@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.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