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] Problem using netsnmp
Date: Wed, 29 Jul 2009 10:25:24 +0200	[thread overview]
Message-ID: <20090729102524.0178b0d6@surf> (raw)
In-Reply-To: <4A70030F.9080007@tandberg.com>

Le Wed, 29 Jul 2009 09:06:39 +0100,
Chris Smith <chris.smith@tandberg.com> a ?crit :

> Sorry that should have been libc.so.6.
> 
> Building for i486.

Ok, so same architecture on the build machine and the target machine.

> /usr/sbin/snmpd: can't load library 'libc.so.6'

I suspect that the host toolchain is leaking somewhere in the build.
libc.so.6 clearly indicates a glibc-based toolchain, which is the one
of your host. Such a mix usually gets detected when the build machine
and the target machine have a different architecture, but here, since
it's the same, it might remain undetected.

I suspect one of the libraries on which snmpd depends, gets compiled
against the host glibc instead of the target uClibc.

Will try to find some time to dig into this.

Sincerly,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2009-07-29  8:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-28 12:02 [Buildroot] Problem using netsnmp Chris Smith
2009-07-28 21:10 ` Peter Korsgaard
2009-07-29  8:06   ` Chris Smith
2009-07-29  8:25     ` Thomas Petazzoni [this message]
     [not found]   ` <4A855D74.5090308@tandberg.com>
2009-08-24 21:30     ` [Buildroot] IPv6 in busybox Peter Korsgaard
2009-08-03 15:01 ` [Buildroot] Problem using netsnmp Thomas Petazzoni
2009-08-04 14:29 ` Thomas Petazzoni
     [not found]   ` <4A785AE1.8010609@tandberg.com>
2009-08-04 19:39     ` 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=20090729102524.0178b0d6@surf \
    --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