Can't build net-snmp - fails to link against libpthread due to unknown symbols. Since I need snmp support in PHP, I can't update those packages until this is resolved. Reproducible: Always Steps to Reproduce: emerge net-snmp Actual Results: /bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -DINET6 -march=athlon -O2 -pipe -Dlinux -o snmpd snmpd.lo libnetsnmpmibs.la libnetsnmpagent.la helpers/libnetsnmphelpers.la -lwrap ../snmplib/libnetsnmp.la -ldl -lcrypto -lm -rdynamic -L/usr/local/lib /usr/lib/perl5/5.8.5/i686-linux-thread-multi/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.5/i686-linux-thread-multi/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc i686-pc-linux-gnu-gcc -DINET6 -march=athlon -O2 -pipe -Dlinux -o .libs/snmpd snmpd.o -rdynamic ./.libs/libnetsnmpmibs.so ./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so -lwrap ../snmplib/.libs/libnetsnmp.so -lcrypto -L/usr/local/lib /usr/lib/perl5/5.8.5/i686-linux-thread-multi/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.5/i686-linux-thread-multi/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc /lib/libpthread.so.0: undefined reference to `errno@GLIBC_PRIVATE' /lib/libpthread.so.0: undefined reference to `__libc_dl_error_tsd@GLIBC_PRIVATE' /lib/libpthread.so.0: undefined reference to `__resp@GLIBC_PRIVATE' /lib/libpthread.so.0: undefined reference to `h_errno@GLIBC_PRIVATE' collect2: ld returned 1 exit status make[1]: *** [snmpd] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-snmp-5.2.1/work/net-snmp-5.2.1/agent' make: *** [subdirs] Error 1 !!! ERROR: net-analyzer/net-snmp-5.2.1 failed. !!! Function src_compile, Line 98, Exitcode 2 !!! compile problem !!! If you need support, post the topmost build error, NOT this status message. Here's my default USE flags for net-snmp: # emerge -pv net-snmp These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] net-analyzer/net-snmp-5.2.1 [5.2] -X -doc -elf +ipv6 -lm_sensors -minimal +perl -rpm (-selinux) -smux +ssl +tcpd 0 kB Total size of downloads: 0 kB Here's the emerge info: Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20040808-r1,glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r9n i686) ================================================================= System uname: 2.6.9-gentoo-r9n i686 AMD Athlon(tm) MP 1600+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 04:05:57)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.7.9-r1, 1.6.3, 1.5, 1.9.5, 1.4_p6, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2, 2.6.8.1-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo ftp://mirrors.tds.net/gentoo http://gentoo.ccccom.com" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://216.220.96.33/gentoo-portage" USE="x86 apm arts avi berkdb bitmap-fonts crypt curl emboss encode foomaticdb freetds gd gdbm gif gtk2 imagemagick imlib ipv6 ithreads jpeg libg++ libwww mad mcal mikmod mmx motif mp3 mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang snmp spell ssl svga tcpd threads tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
something's funky with your glibc. *** This bug has been marked as a duplicate of 86058 ***