Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36912 - tcl is broke: component looking for GLIBC_2.3
Summary: tcl is broke: component looking for GLIBC_2.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-31 12:58 UTC by Eric Livingston
Modified: 2003-12-31 15:52 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 Eric Livingston 2003-12-31 12:58:17 UTC
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...
Comment 1 SpanKY gentoo-dev 2003-12-31 14:54:29 UTC
what if you run just `tclsh` ?
Comment 2 Eric Livingston 2003-12-31 15:37:41 UTC
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.
Comment 3 SpanKY gentoo-dev 2003-12-31 15:52:59 UTC
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 :)