On Sun, 28 Jul 2013, [email protected] wrote:
> When I try to start net-snmp on a system upgraded from 5.2 to 5.3 
> net-snmp core dumps:
> # /usr/local/sbin/snmpd
> /usr/local/sbin/snmpd:/usr/lib/libpthread.so.13.3: undefined symbol 
> '_thread_sys_pread'
> lazy binding failed!
> Segmentation fault (core dumped)

That snmpd binrary wasn't broken by the 5.3 upgrade, but rather when it 
was upgraded to 5.1.  Indeed, it must have been built before 2011-10-16. 
So, upgrade your net-snmp install and all the other packages on your 
system.  You've upgraded it over the uthread->rthread upgrade and need to 
get everything over that bump.


(Development-wise, this bug occurred because I only did a minor bump of 
libpthread intead of a major bump when I added the 
pread->_thread_sys_pread wrapper to libpthread.  libc.so.60, which didn't 
have _thread_sys_pread, was concurrent with libpthread.so.13.0, so when 
libpthread gained a dependency on _thread_sys_pread being in libc, I 
should have bumped from .13.1 to .14.0 (instead of .13.3 like I did) so 
that binaries linked against c.60 and pthread.13 wouldn't be broken.)


Philip Guenther

Reply via email to