Here's the error I get from the build (I have glibc-2.3.3_pre20031222 installed). I've tried re-emerging tcl but it doesn't help. --- output follows --- checking for tclConfig.sh... /usr/bin/tclsh: /usr/lib/libc.so.6: version `GLIBC_2.3' not found (required by /usr/lib/libtcl8.4.so) /usr/bin/tclsh: /usr/lib/libc.so.6: version `GLIBC_2.3' not found (required by /lib/libdl.so.2) /usr/bin/tclsh: /usr/lib/libc.so.6: version `GLIBC_PRIVATE' not found (required by /lib/libdl.so.2) /usr/bin/tclsh: /lib/ld-linux.so.2: version `GLIBC_2.1.1' not found (required by /usr/lib/libc.so.6) /usr/bin/tclsh: /lib/ld-linux.so.2: version `GLIBC_2.2.3' not found (required by /usr/lib/libc.so.6) /usr/bin/tclsh: /lib/ld-linux.so.2: version `GLIBC_2.2' not found (required by /usr/lib/libc.so.6) no configure: error: file 'tclConfig.sh' is required for Tcl !!! ERROR: dev-db/postgresql-7.4.1 failed. !!! Function src_compile, Line 122, Exitcode 1 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. emerge postgresql 2. 3. Actual Results: emerge fails as per above. Expected Results: emerge correctly :) I'm currently on postgresql-7.4-r1. I rely on postgresql, and an nervous that I can't continue to keep it current...
what if you run just `tclsh` ?
Thanks for the tip - that wound up leading to the solution. I tried tclsh alone and that also generated those errors (even though I had already tried re-emerging tcl to see if that helped, and that process was error-free). In any case, that wound up pointing me to libc.so.6, which I became suspicious of because qpkg claimed no package owned it. (and, glibc puts its own version of libc.so.6 in /lib, and this one was in /usr/lib.) I moved the libc.so.6 I found in /usr/lib out, and now the build works fine. I must have copied some other libc.so.6 into /usr/lib at some point for some reason (though I can't remember doing so). In any case, getting rid of the errant libc.so.6 seemed to have solved the problem.
that is weird ... /usr/lib/libc.so.6 should just be a symlink to /lib/libc.so.6 but so long as your system seems ok :)