Dit is het raarste wat ik tot nu toe in mijn overigens niet zeer lange linux-carriere heb meegemaakt. Ik dacht vanavond laat ik eens sBNC instaleren, die kan gebruiken maken van TCL scripts dus handig als dat geinstalleerd is. Systeem draait overigens Fedora Core 5 SMP.
Komt het dan
So far so good eh?
Waar is mn GCC?
Okay, wat is dit dan allemaal? yum opeens kapot na install van TCL? Enige error die ik kon vinden bij yum was de volgende.
Nouja, als jij een symlink wil maken wij die toch.
En nu heb ik geen idee waar ik dit verder nog moet gaan zoeken, blijkbaar is mn /lib/libgcc_s.so.1 kapot, al een andere versie uit /root/tmp/libgcc_so.so.1 geprobeerd, maar dat wou ook niet. Iemand enig idee?
code:
1
2
| [root@p2p-hosting lib]# uname --all Linux p2p-hosting 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006 i686 i686 i386 GNU/Linux |
Komt het dan
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
| bash-3.1$ yum install tcl Loading "installonlyn" plugin You need to be root to perform this command. bash-3.1$ exit exit [root@p2p-hosting home]# yum install tcl Loading "installonlyn" plugin Setting up Install Process Setting up repositories core [1/3] core 100% |=========================| 1.1 kB 00:00 extras [2/3] extras 100% |=========================| 1.1 kB 00:00 updates [3/3] updates 100% |=========================| 951 B 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 1.1 MB 00:04 extras : ################################################## 3269/3269 Added 139 new packages, deleted 74 old in 4.89 seconds primary.xml.gz 100% |=========================| 325 kB 00:00 updates : ################################################## 985/985 Added 40 new packages, deleted 22 old in 1.43 seconds Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for tcl to pack into transaction set. tcl-8.4.12-4.i386.rpm 100% |=========================| 28 kB 00:00 ---> Package tcl.i386 0:8.4.12-4 set to be updated --> Running transaction check Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: tcl i386 8.4.12-4 core 954 k Transaction Summary ============================================================================= Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 954 k Is this ok [y/N]: y Downloading Packages: (1/1): tcl-8.4.12-4.i386. 100% |=========================| 954 kB 00:22 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: tcl ######################### [1/1] /sbin/ldconfig: /lib/libstdc++.so.5 is not a symbolic link Installed: tcl.i386 0:8.4.12-4 Complete! |
So far so good eh?
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| [root@p2p-hosting home]# su cyber bash-3.1$ ./configure checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables See `config.log' for more details. |
Waar is mn GCC?
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| bash-3.1$ exit exit [root@p2p-hosting home]# yum install gcc There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: /lib/libgcc_s.so.1: version `GCC_3.3.1' not found (required by /usr/lib/librpmio-4.4.so) Please install a package which provides this module, or verify that the module is installed correctly. It's possible that the above module doesn't match the current version of Python, which is: 2.4.2 (#1, Feb 12 2006, 03:59:46) [GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)] If you cannot solve this problem yourself, please go to the yum faq at: http://wiki.linux.duke.edu/YumFaq |
Okay, wat is dit dan allemaal? yum opeens kapot na install van TCL? Enige error die ik kon vinden bij yum was de volgende.
code:
1
| /sbin/ldconfig: /lib/libstdc++.so.5 is not a symbolic link |
Nouja, als jij een symlink wil maken wij die toch.
code:
1
2
3
4
5
6
7
8
9
10
11
12
| [root@p2p-hosting lib]# ldconfig ldconfig: /lib/libstdc++.so.5 is not a symbolic link [root@p2p-hosting lib]# mv libstdc++.so.5 libstdc++.so.5.bak [root@p2p-hosting lib]# ln -s libstdc++.so libstdc++.so libstdc++.so.5.0.3 libstdc++.so.5.bak [root@p2p-hosting lib]# ln -s libstdc++.so.5.0.3 libstdc++.so.5 [root@p2p-hosting lib]# ldconfig [root@p2p-hosting lib]# rpm rpm: /lib/libgcc_s.so.1: version `GCC_3.3.1' not found (required by /usr/lib/librpmio-4.4.so) rpm: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/lib/libstdc++.so.6) rpm: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6) |
En nu heb ik geen idee waar ik dit verder nog moet gaan zoeken, blijkbaar is mn /lib/libgcc_s.so.1 kapot, al een andere versie uit /root/tmp/libgcc_so.so.1 geprobeerd, maar dat wou ook niet. Iemand enig idee?