質問編集履歴
6
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -85,3 +85,79 @@
|
|
85
85
|
|
86
86
|
|
87
87
|
```
|
88
|
+
|
89
|
+
####追記
|
90
|
+
|
91
|
+
```
|
92
|
+
|
93
|
+
$ brew --config
|
94
|
+
|
95
|
+
Error: Please update your system curl.
|
96
|
+
|
97
|
+
Minimum required version: 7.41.0
|
98
|
+
|
99
|
+
Your curl version: 7.29.0
|
100
|
+
|
101
|
+
Your curl executable: /usr/bin/curl
|
102
|
+
|
103
|
+
Error: Please update your system Git.
|
104
|
+
|
105
|
+
Minimum required version: 2.7.0
|
106
|
+
|
107
|
+
Your Git version: 1.8.3.1
|
108
|
+
|
109
|
+
Your Git executable: /usr/bin/git
|
110
|
+
|
111
|
+
HOMEBREW_VERSION: >=2.5.0 (shallow or no git repository)
|
112
|
+
|
113
|
+
ORIGIN: https://github.com/Homebrew/brew
|
114
|
+
|
115
|
+
HEAD: 7c68b1738b3dce2885d0146f327eaaf96b6d0029
|
116
|
+
|
117
|
+
Last commit: 2 days ago
|
118
|
+
|
119
|
+
Core tap ORIGIN: https://github.com/Homebrew/linuxbrew-core
|
120
|
+
|
121
|
+
Core tap HEAD: e280d0a1a8e6baae7461513ec09fc855c53d531e
|
122
|
+
|
123
|
+
Core tap last commit: 28 hours ago
|
124
|
+
|
125
|
+
Core tap branch: master
|
126
|
+
|
127
|
+
HOMEBREW_PREFIX: /home/ユーザー名/.linuxbrew
|
128
|
+
|
129
|
+
HOMEBREW_REPOSITORY: /home/ユーザー名/.linuxbrew/Homebrew
|
130
|
+
|
131
|
+
HOMEBREW_CELLAR: /home/ユーザー名/.linuxbrew/Cellar
|
132
|
+
|
133
|
+
HOMEBREW_CASK_OPTS: []
|
134
|
+
|
135
|
+
HOMEBREW_MAKE_JOBS: 96
|
136
|
+
|
137
|
+
Homebrew Ruby: 2.6.3 => /home/ユーザー名/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
|
138
|
+
|
139
|
+
CPU: 96-core 64-bit zen
|
140
|
+
|
141
|
+
Clang: N/A
|
142
|
+
|
143
|
+
Git: 1.8.3.1 => /bin/git
|
144
|
+
|
145
|
+
Curl: 7.29.0 => /usr/bin/curl
|
146
|
+
|
147
|
+
Kernel: Linux 4.15.0-142-generic x86_64 GNU/Linux
|
148
|
+
|
149
|
+
OS: CentOS Linux release 7.8.2003 (Core)
|
150
|
+
|
151
|
+
Host glibc: 2.17
|
152
|
+
|
153
|
+
/usr/bin/gcc: 4.8.5
|
154
|
+
|
155
|
+
/usr/bin/ruby: 2.0.0
|
156
|
+
|
157
|
+
glibc: 2.23
|
158
|
+
|
159
|
+
gcc@5: 5.5.0_6
|
160
|
+
|
161
|
+
xorg: N/A
|
162
|
+
|
163
|
+
```
|
5
文章を追記・修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
homebrewでc
|
1
|
+
homebrewでgccをインストールする際にエラーが発生する
|
test
CHANGED
@@ -2,9 +2,13 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
Xサーバーにhomebrewでcurlをインストールするときにエラーが発生しました。
|
5
|
+
初心者です。Xサーバーにhomebrewでcurlをインストールするときにエラーが発生しました。
|
6
6
|
|
7
|
+
gccをインストールするところでldがcrti.oというリロケータブルオブジェクトを探す際に見つからないためにエラーが起きているようです。
|
8
|
+
|
9
|
+
LIBRARY_PATHは.linuxbrew/libになっていて、そこにはcrti.oのシンボリックリンクがあり、それは.linuxbrew/Cellar/glibc/2.23/lib/crti.oにきちんとリンクされています。
|
10
|
+
|
7
|
-
|
11
|
+
一体なぜこのようなエラーが起きているのかわかりません。どの部分を修正すべきでしょうか。ご教授いただけると幸いです。
|
8
12
|
|
9
13
|
|
10
14
|
|
4
試したことの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -78,22 +78,6 @@
|
|
78
78
|
|
79
79
|
lrwxrwxrwx 1 ユーザー名 members 31 5月 15 00:52 /home/ユーザー名/.linuxbrew/lib/crti.o -> ../Cellar/glibc/2.23/lib/crti.o
|
80
80
|
|
81
|
-
$ which ld
|
82
|
-
|
83
|
-
~/.linuxbrew/bin/ld
|
84
|
-
|
85
|
-
$ ldd ~/.linuxbrew/bin/ld
|
86
|
-
|
87
|
-
linux-vdso.so.1 (0x00007ffd045b8000)
|
88
|
-
|
89
|
-
libz.so.1 => /home/ユーザー名/.linuxbrew/lib/libz.so.1 (0x00007f74de0e0000)
|
90
|
-
|
91
|
-
libdl.so.2 => /home/ユーザー名/.linuxbrew/lib/libdl.so.2 (0x00007f74de0db000)
|
92
|
-
|
93
|
-
libc.so.6 => /home/ユーザー名/.linuxbrew/lib/libc.so.6 (0x00007f74ddf3f000)
|
94
|
-
|
95
|
-
/home/ユーザー名/.linuxbrew/lib/ld.so (0x00007f74de2f7000)
|
96
|
-
|
97
81
|
|
98
82
|
|
99
83
|
```
|
3
文法の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -78,11 +78,11 @@
|
|
78
78
|
|
79
79
|
lrwxrwxrwx 1 ユーザー名 members 31 5月 15 00:52 /home/ユーザー名/.linuxbrew/lib/crti.o -> ../Cellar/glibc/2.23/lib/crti.o
|
80
80
|
|
81
|
-
|
81
|
+
$ which ld
|
82
82
|
|
83
83
|
~/.linuxbrew/bin/ld
|
84
84
|
|
85
|
-
|
85
|
+
$ ldd ~/.linuxbrew/bin/ld
|
86
86
|
|
87
87
|
linux-vdso.so.1 (0x00007ffd045b8000)
|
88
88
|
|
2
試したことの追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -74,6 +74,26 @@
|
|
74
74
|
|
75
75
|
/usr/lib64/crti.o
|
76
76
|
|
77
|
+
$ ls -l ~/.linuxbrew/lib/crti.o
|
78
|
+
|
79
|
+
lrwxrwxrwx 1 ユーザー名 members 31 5月 15 00:52 /home/ユーザー名/.linuxbrew/lib/crti.o -> ../Cellar/glibc/2.23/lib/crti.o
|
80
|
+
|
81
|
+
[ユーザー名@sv10800 ~]$ which ld
|
82
|
+
|
83
|
+
~/.linuxbrew/bin/ld
|
84
|
+
|
85
|
+
[ユーザー名@sv10800 ~]$ ldd ~/.linuxbrew/bin/ld
|
86
|
+
|
87
|
+
linux-vdso.so.1 (0x00007ffd045b8000)
|
88
|
+
|
89
|
+
libz.so.1 => /home/ユーザー名/.linuxbrew/lib/libz.so.1 (0x00007f74de0e0000)
|
90
|
+
|
91
|
+
libdl.so.2 => /home/ユーザー名/.linuxbrew/lib/libdl.so.2 (0x00007f74de0db000)
|
92
|
+
|
93
|
+
libc.so.6 => /home/ユーザー名/.linuxbrew/lib/libc.so.6 (0x00007f74ddf3f000)
|
94
|
+
|
95
|
+
/home/ユーザー名/.linuxbrew/lib/ld.so (0x00007f74de2f7000)
|
96
|
+
|
77
97
|
|
78
98
|
|
79
99
|
```
|
1
試したことを追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -57,3 +57,23 @@
|
|
57
57
|
|
58
58
|
|
59
59
|
```
|
60
|
+
|
61
|
+
###試したこと
|
62
|
+
|
63
|
+
```
|
64
|
+
|
65
|
+
$ find -name crti.o
|
66
|
+
|
67
|
+
./.linuxbrew/lib/crti.o
|
68
|
+
|
69
|
+
./.linuxbrew/Cellar/glibc/2.23/lib/crti.o
|
70
|
+
|
71
|
+
./.linuxbrew/Cellar/gcc@5/5.5.0_6/lib/gcc/5/gcc/x86_64-unknown-linux-gnu/5.5.0/crti.o
|
72
|
+
|
73
|
+
$ locate crti.o
|
74
|
+
|
75
|
+
/usr/lib64/crti.o
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
```
|