From: Chris Smith <chris.smith@tandberg.com>
To: buildroot@busybox.net
Subject: [Buildroot] Problem using netsnmp
Date: Wed, 29 Jul 2009 09:06:39 +0100 [thread overview]
Message-ID: <4A70030F.9080007@tandberg.com> (raw)
In-Reply-To: <87y6q8jyz1.fsf@macbook.be.48ers.dk>
Sorry that should have been libc.so.6.
Building for i486.
I noticed that snmpd is the only thing in the makefile using MAKE1 to
build and that it is the only binary with a problem.
readelf shows
0x00000001 (NEEDED) Shared library:
[libnetsnmpagent.so.15]
0x00000001 (NEEDED) Shared library:
[libnetsnmphelpers.so.15]
0x00000001 (NEEDED) Shared library:
[libnetsnmpmibs.so.15]
0x00000001 (NEEDED) Shared library: [libnetsnmp.so.15]
0x00000001 (NEEDED) Shared library: [libdl.so.0]
0x00000001 (NEEDED) Shared library:
[libcrypto.so.0.9.8]
0x00000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.0]
Which looks ok to me. But on the target...
/usr/sbin/snmpd: can't load library 'libc.so.6'
Peter Korsgaard wrote:
>>>>>> "Chris" == Chris Smith <chris.smith@tandberg.com> writes:
>>>>>>
>
> hi,
>
> Chris> When I build netsnmp the built snmpd doesn't work on the
> Chris> target. All the other snmp stuff works but I get lib.so.6 not
> Chris> found when trying to run snmpd.
>
> Sure that's 'lib.so.6'? That's a fairly strange library name.
>
> Chris> Anyone have any thoughts? It is as if some linkage to host
> Chris> based libraries has crept in.
>
> What arch are you building for?
>
> What does build_*/staging_dir/*-readelf -x <snmpd> | grep NEEDED give?
>
>
--
--------------------------------------------------------------------
TANDBERG Telecom UK Ltd
Registered in England and Wales No: 3390345.
Registered address:
Unit 2 Pine Trees, Chertsey Lane, Staines, Middlesex, TW18 3HR
next prev parent reply other threads:[~2009-07-29 8:06 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 [this message]
2009-07-29 8:25 ` Thomas Petazzoni
[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=4A70030F.9080007@tandberg.com \
--to=chris.smith@tandberg.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