1 |
On Sat, 2003-07-19 at 15:43, Benjamin Coles wrote: |
2 |
Hiya |
3 |
|
4 |
> Okay this is what I happened to find out, glibc MUST be upgraded |
5 |
> to 2.3.2 for gcc to work, going through the glibc 2.3.1 ebuild I noticed |
6 |
> it wasn't taking advantage of the new gcc files which 2.3.2 was doing, |
7 |
> maybe you can work on getting them to be compatible, or maybe you can |
8 |
> close the ticket and put the answer to upgrade glibc, or the new portage |
9 |
> if you can make it a new depend after gcc. |
10 |
|
11 |
Well, we could just make glibc-2.3.2 a DEPEND for gcc-3.2.3 ... |
12 |
|
13 |
> On other note I managed to install glibc 2.3.2 last night and ran |
14 |
> into numerous problems, qmail-1.03-r10 wasn't stable yet and I forsee lots |
15 |
> of ppl running into this problem, you might want to make that a depend |
16 |
> after glibc is installed due to the errno patch, I had a heck of a time |
17 |
> doing qmail last night due to the fact I use qmail-ldap. i've decided to |
18 |
> talk to raker on this matter and possibly branch off qmail-ldap from |
19 |
> qmail. |
20 |
|
21 |
As I see it, qmail -r10 should have been bumped to stable with glibc, |
22 |
so this was a fault on our side for not syncing all outstanding errno |
23 |
issues prior to unmasking glibc 2.3.2. |
24 |
|
25 |
> Below was the fix for ppl to temporarly fix it in gcc 3.2.1 |
26 |
> #!/bin/tcsh |
27 |
> foreach DIR (`cat /etc/ld.so.conf | grep -v "#"`) |
28 |
> foreach OLDNAME (`find $DIR -name "*.so*" -print`) |
29 |
> setenv NEWNAME /lib/`echo $OLDNAME | awk -F/ '{print $NF}'` |
30 |
> echo ln -s $OLDNAME $NEWNAME |
31 |
> ln -s $OLDNAME $NEWNAME |
32 |
> end |
33 |
> end |
34 |
> /sbin/ldconfig |
35 |
> |
36 |
> my script to counter that |
37 |
> #!/bin/bash |
38 |
> for DIR in `cat /etc/ld.so.conf | grep -v "#"` |
39 |
> do |
40 |
> for OLDNAME in `find $DIR -name "*.so*" -print' | awk -F/ '{print $NF}'`; |
41 |
> do rm /lib/$OLDNAME ; |
42 |
> done |
43 |
> done |
44 |
> fi |
45 |
> |
46 |
> Just wanted to keep it some organized, and with this script /lib MUST |
47 |
> not be listed in /etc/ld.so.conf which it usually isn't. Thank you ever so |
48 |
> much for all your help. |
49 |
> |
50 |
|
51 |
I think we can keep the bug open for now - you guys have anyhow added |
52 |
this to the bug, so hopefully anybody running into it will find that |
53 |
bug. |
54 |
|
55 |
|
56 |
Regards, |
57 |
|
58 |
-- |
59 |
|
60 |
Martin Schlemmer |
61 |
Gentoo Linux Developer, Desktop/System Team Developer |
62 |
Cape Town, South Africa |