[Buildroot] Problem using netsnmp

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Jul 29 08:25:24 UTC 2009


Le Wed, 29 Jul 2009 09:06:39 +0100,
Chris Smith <chris.smith at 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



More information about the buildroot mailing list