Reporting this here for the benefit of others. I was having problems building net-snmp and Apache (for several weeks!).
The net-snmp build error was exactly the same as a bug report for MySQL. The build error is something like this: lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]' /lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]' /lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]' /lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]' collect2: ld returned 1 exit status configure:27671: $? = 1 configure: program exited with status 1 configure: failed program was: Ive built all my servers with the nptl USE flag, however an update to glibc several weeks ago changed the behavior of this flag. Specifying nptl now builds two versions of the library - one with nptl and the other using pthreads. Adding the USE flag nptlonly (you need to have both nptl and nptlonly) and rebuilding glibc fixed the problem with net-snmp. This also fixed a problem with the Apache 1.x ebuild where it couldn't find the DB library so the configure step failed. I was finally able to rebuild Apache and hence get all the updates for php, mod_php and phpmyadmin too (thank god - there were several security updates). Hope this helps someone else, -- Aj. -- gentoo-user@gentoo.org mailing list