Summary: | pthreads is corrupt | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Douglas Pollock <douglas.pollock> |
Component: | [OLD] Library | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED WORKSFORME | ||
Severity: | blocker | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
GTK+ config.log
glib config.log |
Description
Douglas Pollock
2005-04-15 06:01:53 UTC
Probably going to want an error message of some sort, could you paste one? checking for GLIB - version >= 2.6.0... no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB is incorrectly installed. configure: error: *** GLIB 2.6.0 or better is required. The latest version of *** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/. !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/gtk+-2.6.4-r1/work/gtk+-2.6.4/config.log !!! ERROR: x11-libs/gtk+-2.6.4-r1 failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. checking thread related cflags... -D_REENTRANT checking for pthread_create/pthread_join... no checking for pthread_create/pthread_join in -lpthread... no checking for pthread_create/pthread_join in -lpthread32... no checking for pthread_create/pthread_join in -lpthreads... no checking for pthread_create/pthread_join in -lthread... no checking for pthread_create/pthread_join in -ldce... no configure: error: I can't find the libraries for the thread implementation posix. Please choose another thread implementation or provide information on your thread implementation. You can also run 'configure --disable-threads' to compile without thread support. !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/glib-2.6.2-r1/work/glib-2.6.2/config.log !!! ERROR: dev-libs/glib-2.6.2-r1 failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. too bad you didnt attach the config.log file like the error message told you to :P we cant tell you what the real issue is here until you do, so re-open once you have Created attachment 56458 [details]
GTK+ config.log
Haha. Very clever.
Created attachment 56459 [details]
glib config.log
It is unclear that "If you need support, post the topmost build error, NOT this status message" means to also include the config.log. The two messages saying what to do just confused me a bit. Do both? Do one? The last one? The first one? here's the actual error: configure:32555: i686-pc-linux-gnu-gcc -o conftest -O3 -march=pentium4 -funroll-loops -pipe -Wall -D_REENTRANT -D_POSIX4_DRAFT_SOURCE -D_POSIX4A_DRAFT10_SOURCE -U_OSF_SOURCE conftest.c -lpthread >&5 conftest.c: In function `main': conftest.c:121: warning: implicit declaration of function `exit' /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 `__libc_fork@GLIBC_2.1.2' /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 what does `ls -l /lib/libpthread*` show ? bash-2.05b$ ls -l /lib/libpthread* -rwxr-xr-x 1 root root 141794 Apr 14 13:07 /lib/libpthread-0.10.so -rwxr-xr-x 1 root root 65592 Feb 16 2004 /lib/libpthread-0.60.so lrwxr-xr-x 1 root root 18 Apr 14 13:10 /lib/libpthread.so.0 -> libpthread-0.60.so get rid of /lib/libpthread-0.60.so and run ldconfig. It wasn't properly removed when you upgraded glibc at some point |