The following occurs doing "emerge mplayer." Calculating dependencies ...done! >>> emerge (1 of 1) media-video/mplayer-0.90_rc2 to / >>> md5 ;-) MPlayer-0.90rc2.tar.bz2 >>> md5 ;-) mp-arial-iso-8859-1.zip >>> md5 ;-) mp-arial-iso-8859-2.zip >>> md5 ;-) default-skin-0.1.tar.bz2 >>> Unpacking source... >>> Unpacking MPlayer-0.90rc2.tar.bz2 to /var/tmp/portage/mplayer-0.90_rc2/work truetype >>> Unpacking default-skin-0.1.tar.bz2 to /var/tmp/portage/mplayer-0.90_rc2/work * Applying default-skin.diff... [ ok ] * Applying mplayer-0.90_rc1-gtk2.patch... [ ok ] >>> Source unpacked. 3dnow mmx X jpeg gif gtk gtk truetype oss opengl sdl svga alsa arts oggvorbis encode nls Detected operating system: Linux Detected host architecture: i386 Checking for gcc version ... 3.2.1, ok Checking for CPU vendor ... AuthenticAMD (6:6:2) Checking for CPU type ... AMD Athlon(TM) XP1800+ Checking for GCC & CPU optimization abilities ... athlon-xp Checking for kernel support of mmx ... yes Checking for kernel support of mmx2 ... yes Checking for kernel support of 3dnow ... yes Checking for kernel support of 3dnowex ... yes Checking for kernel support of sse ... yes Checking for mtrr support ... yes Checking for assembler (/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/as 2.13.90.0.18) ... ok Checking for Linux kernel version ... 2.4.19-gentoo-r10, ok Checking for awk ... gawk Checking for extra headers ... none Checking for extra libs ... none Checking for i18n ... yes Checking for setlocale() ... yes Checking for language ... using en Checking for enable sighandler ... yes Checking for runtime cpudetection ... no Checking for restrict keyword ... __restrict Checking for kstat ... no Checking for posix4 ... no Checking for lrintf ... yes Checking for nanosleep ... yes Checking for socklib ... yes (using -lnsl) Checking for inet_pton() ... yes (using -lnsl) Checking for inttypes.h (required) ... yes Checking for word size ... 32 Checking for stddef.h ... yes Checking for malloc.h ... yes Checking for memalign() ... yes Checking for alloca.h ... yes Checking for mman.h ... yes Checking for dynamic loader ... yes Checking for dynamic a/v plugins support ... no Checking for pthread ... Error: Lib pthread not found (needed by Windows and networking stuff).
It was working previously. I have cleaned up my distfiles dir to try and save some space today. I also have tried to 'emerge gcc' and it fails. I am not sure if this has something to do with it.
pthread lib, is a component of the glibc. bash-2.05b$ qpkg -f /usr/lib/libpthread.so sys-libs/glibc * bash-2.05b$ look in this folder '/usr/lib/' if you have this lib.
No, I have a libpthread.a I am emerging the glibc that you mention now. I will have to check the results when I return from work. Any idea on what would make this lib disappear? Would the new 3.2.2 gcc emerge remove it? (although it was not successfull?)
No, the file does not exist. I did a emerge glibc which is what I assumed you were suggesting.
Fixed. Dumb user trick(s) :(( I had run out of disk space over the weekend or close to it compiling gcc 3.2.2 and moved /usr to another partition and made a symlink. It appears that the glibc, glib and some other libraries use symlinks or something to that effect because several libraries just up and disappeared. I had another drive in the system I was not using (I forgot it was there) and moved /usr to it, recompiled glibc and voila, the file now appears. I had just happened to notice when I was merging glibc again it was making symlinks to the files in /usr/lib and that is when it hit me what the problem was.
Bad luck, glad you figured it out, thanks.