Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16701 - Mplayer - pthread not found
Summary: Mplayer - pthread not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 30156
  Show dependency tree
 
Reported: 2003-03-02 20:52 UTC by Doug Glenn
Modified: 2003-10-04 06:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Glenn 2003-03-02 20:52:57 UTC
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).
Comment 1 Doug Glenn 2003-03-02 20:54:28 UTC
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. 
Comment 2 matrixise 2003-03-03 03:19:13 UTC
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.
Comment 3 Doug Glenn 2003-03-03 07:26:00 UTC
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?) 
Comment 4 Doug Glenn 2003-03-03 18:13:39 UTC
No, the file does not exist. I did a emerge glibc which is what I assumed you were 
suggesting. 
Comment 5 Doug Glenn 2003-03-03 21:59:35 UTC
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. 
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-05 14:47:16 UTC
Bad luck, glad you figured it out, thanks.