All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael S. Zick <minimod@morethan.org>
To: buildroot@busybox.net
Subject: [Buildroot] Problem using net-snmp and Buildroot
Date: Thu, 26 Nov 2009 09:27:00 -0600	[thread overview]
Message-ID: <200911260927.02506.minimod@morethan.org> (raw)
In-Reply-To: <87tywh8i25.fsf@macbook.be.48ers.dk>

On Thu November 26 2009, Peter Korsgaard wrote:
> >>>>> "Luca" == Luca Altobelli <LUCA.ALTOBELLI@dimacosystems.com> writes:
> 
> Hi,
> 
>  Luca> Dear Peter,
>  Luca> following your istructions:
>  Luca> dpkg -l \*snmp\*|grep ii
>  Luca> ii  libsnmp-base                               5.4.1~dfsg-12ubuntu3
>  Luca> SNMP (Simple Network Management Protocol) MI
>  Luca> ii  libsnmp15                                   5.4.1~dfsg-12ubuntu3
>  Luca> SNMP (Simple Network Management Protocol) li
> 
>  Luca> mounting the rootfs.i486.ext2 (used 2009.11-rc1 and net-snmp 5.5):
>  Luca> # snmpd -v
>  Luca> snmpd: can't load library 'libcrypto.so.0.9.8'
>  Luca> that I found in the host-lib directory , while in the  target-lib  I
>  Luca> have libcrypt-0.9.30.1.so.
> 
> You should also have a libcrypto on the target. E.G. with the config you
> posted I have:
> 
> file /tmp/br/target/usr/lib/libcrypto.so.0.9.8                      ~
> /tmp/br/target/usr/lib/libcrypto.so.0.9.8: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
> 
> If not, it sounds like something goes wrong with the openssl compilation
> and something gets confused about host/target.
> 
> I haven't been able to reproduce it with your config, but I'm on a
> x86-64 host, so that might be why - Sorry, I don't have any 32bit
> PCs any more.
> 

Sure you do, it is hidden inside of your x86_64 box.  ;)

Install the Linux-Vserver patch, set the option to emulate 32bit 
in your kernel config, build and boot kernel, install your choice
of 32bit distributions in an ARCH=x86 guest context.

I currently run Gentoo-32bit, Debian-32bit, Ubuntu-32bit on my
x86-64 box (all at the same time). It is a Core2Quad box.
Ah, yes, I also run the same threesum in 64bit also at the same time.

Bottom of the page: http://linux-vserver.org/Welcome_to_Linux-VServer.org
That project's idea of "Experimental" puts other project's idea of "Stable"
to shame.  ;)

Mike
> sudo mount -o loop,rw /tmp/br/images/rootfs.i486.ext2 /tmp/blah 
> sudo chroot /tmp/blah /bin/sh
> / # snmpd -v
> 
> NET-SNMP version:  5.5
> Web:               http://www.net-snmp.org/
> Email:             net-snmp-coders at lists.sourceforge.net
> 
>  Luca> I also asked in the uclibc mailing list and Carmelo Amoroso
>  Luca> replied: "[..]it seems that you are not using uClibc, instead you
>  Luca> are linking against glibc".
> 
> Indeed.
> 

  reply	other threads:[~2009-11-26 15:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24 10:45 [Buildroot] Problem using net-snmp and Buildroot Luca Altobelli
2009-11-25 10:11 ` Peter Korsgaard
     [not found]   ` <4B0D5435.4090002@dimacosystems.com>
2009-11-25 16:40     ` Peter Korsgaard
     [not found]       ` <4B0E5618.4010605@dimacosystems.com>
2009-11-26 14:41         ` Peter Korsgaard
2009-11-26 15:27           ` Michael S. Zick [this message]
2009-11-26 15:34             ` Peter Korsgaard
     [not found]               ` <200911261004.40246.minimod@morethan.org>
2009-11-26 16:12                 ` Peter Korsgaard

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=200911260927.02506.minimod@morethan.org \
    --to=minimod@morethan.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.