質問編集履歴

4

情報削除

2017/04/28 04:49

投稿

s.k
s.k

score423

test CHANGED
File without changes
test CHANGED
@@ -180,7 +180,7 @@
180
180
 
181
181
  ```ここに言語を入力
182
182
 
183
- ubuntu@sagae-yurukyara-4758415:~/workspace$ ldconfig -p|grep -i '/usr/lib/libmecab.so'
183
+ $ ldconfig -p|grep -i '/usr/lib/libmecab.so'
184
184
 
185
185
  libmecab.so.2 (libc6,x86-64) => /usr/lib/libmecab.so.2
186
186
 

3

エラー情報追加

2017/04/28 04:49

投稿

s.k
s.k

score423

test CHANGED
File without changes
test CHANGED
@@ -11,6 +11,10 @@
11
11
  ```
12
12
 
13
13
  LoadError: Please set MECAB_PATH to the full path to libmecab.so
14
+
15
+ Errno::ENOENT: No such file or directory - mecab-config
16
+
17
+
14
18
 
15
19
  ```
16
20
 

2

情報追加

2017/04/28 04:48

投稿

s.k
s.k

score423

test CHANGED
File without changes
test CHANGED
@@ -153,3 +153,33 @@
153
153
  drwxr-xr-x 2 root root 4096 Apr 10 2014 src
154
154
 
155
155
  ```
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+ [こちら](http://kshimo69.hatenablog.com/entry/20110412/1302576541)を参考にパスを設定しました。
164
+
165
+ 【/etc/ld.so.conf】
166
+
167
+ ```
168
+
169
+ include /etc/ld.so.conf.d/*.conf
170
+
171
+ /usr/lib/libmecab.so
172
+
173
+ ```
174
+
175
+
176
+
177
+ ```ここに言語を入力
178
+
179
+ ubuntu@sagae-yurukyara-4758415:~/workspace$ ldconfig -p|grep -i '/usr/lib/libmecab.so'
180
+
181
+ libmecab.so.2 (libc6,x86-64) => /usr/lib/libmecab.so.2
182
+
183
+ libmecab.so (libc6,x86-64) => /usr/lib/libmecab.so
184
+
185
+ ```

1

情報追加

2017/04/28 04:46

投稿

s.k
s.k

score423

test CHANGED
File without changes
test CHANGED
@@ -10,269 +10,7 @@
10
10
 
11
11
  ```
12
12
 
13
- ・・・省略・・・
14
-
15
- /usr/local/rbenv/bin/rbenv exec bundle exec rake assets:precompile
16
-
17
- 01 bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
18
-
19
- 01 bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
20
-
21
- 01 bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
22
-
23
- 01 bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
24
-
25
- 01 bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
26
-
27
- 01 bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
28
-
29
- 01 bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
30
-
31
- 01 bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
32
-
33
- 01 rake aborted!
34
-
35
- 01 LoadError: Please set MECAB_PATH to the full path to libmecab.so
36
-
37
- ・・・省略・・・
38
-
39
- 01 /home/anime/yurukyara/releases/20170428023040/Rakefile:4:in `require'
40
-
41
- 01 /home/anime/yurukyara/releases/20170428023040/Rakefile:4:in `<top (required)>'
42
-
43
- 01 /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
44
-
45
- 01 /usr/local/rbenv/versions/2.3.1/bin/bundle:23:in `load'
46
-
47
- 01 /usr/local/rbenv/versions/2.3.1/bin/bundle:23:in `<main>'
48
-
49
- 01 (See full trace by running task with --trace)
50
-
51
- (Backtrace restricted to imported tasks)
52
-
53
- cap aborted!
54
-
55
- SSHKit::Runner::ExecuteError: Exception while executing as anime@160.16.198.30: rake exit status: 1
56
-
57
- rake stdout: Nothing written
58
-
59
-
60
-
61
- rake aborted!
62
-
63
13
  LoadError: Please set MECAB_PATH to the full path to libmecab.so
64
-
65
- /usr/local/rbenv/versions/2.3.1/bin/bundle:23:in `load'
66
-
67
- /usr/local/rbenv/versions/2.3.1/bin/bundle:23:in `<main>'
68
-
69
- (See full trace by running task with --trace)
70
-
71
-
72
-
73
- SSHKit::Command::Failed: rake exit status: 1
74
-
75
- rake stdout: Nothing written
76
-
77
- rake aborted!
78
-
79
- LoadError: Please set MECAB_PATH to the full path to libmecab.so
80
-
81
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto/binding.rb:58:in `rescue in find_library'
82
-
83
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto/binding.rb:48:in `find_library'
84
-
85
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto/binding.rb:64:in `<module:Binding>'
86
-
87
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto/binding.rb:6:in `<module:Natto>'
88
-
89
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto/binding.rb:2:in `<top (required)>'
90
-
91
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto/natto.rb:2:in `require'
92
-
93
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto/natto.rb:2:in `<top (required)>'
94
-
95
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto.rb:2:in `require'
96
-
97
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto.rb:2:in `<top (required)>'
98
-
99
- /home/anime/yurukyara/releases/20170428023040/config/application.rb:7:in `<top (required)>'
100
-
101
- /home/anime/yurukyara/releases/20170428023040/Rakefile:4:in `require'
102
-
103
- /home/anime/yurukyara/releases/20170428023040/Rakefile:4:in `<top (required)>'
104
-
105
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
106
-
107
- /usr/local/rbenv/versions/2.3.1/bin/bundle:23:in `load'
108
-
109
- /usr/local/rbenv/versions/2.3.1/bin/bundle:23:in `<main>'
110
-
111
- Errno::ENOENT: No such file or directory - mecab-config
112
-
113
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto/binding.rb:51:in `find_library'
114
-
115
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto/binding.rb:64:in `<module:Binding>'
116
-
117
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto/binding.rb:6:in `<module:Natto>'
118
-
119
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto/binding.rb:2:in `<top (required)>'
120
-
121
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto/natto.rb:2:in `require'
122
-
123
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto/natto.rb:2:in `<top (required)>'
124
-
125
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto.rb:2:in `require'
126
-
127
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto.rb:2:in `<top (required)>'
128
-
129
- /home/anime/yurukyara/releases/20170428023040/config/application.rb:7:in `<top (required)>'
130
-
131
- /home/anime/yurukyara/releases/20170428023040/Rakefile:4:in `require'
132
-
133
- /home/anime/yurukyara/releases/20170428023040/Rakefile:4:in `<top (required)>'
134
-
135
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
136
-
137
- /usr/local/rbenv/versions/2.3.1/bin/bundle:23:in `load'
138
-
139
- /usr/local/rbenv/versions/2.3.1/bin/bundle:23:in `<main>'
140
-
141
- (See full trace by running task with --trace)
142
-
143
-
144
-
145
- Tasks: TOP => deploy:assets:precompile
146
-
147
- (See full trace by running task with --trace)
148
-
149
- The deploy has failed with an error: Exception while executing as anime@160.16.198.30: rake exit status: 1
150
-
151
- rake stdout: Nothing written
152
-
153
- rake stderr: bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
154
-
155
- rake aborted!
156
-
157
- LoadError: Please set MECAB_PATH to the full path to libmecab.so
158
-
159
- /home/anime/yurukyara/releases/20170428023040/config/application.rb:7:in `<top (required)>'
160
-
161
- /home/anime/yurukyara/releases/20170428023040/Rakefile:4:in `require'
162
-
163
- /home/anime/yurukyara/releases/20170428023040/Rakefile:4:in `<top (required)>'
164
-
165
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
166
-
167
- /usr/local/rbenv/versions/2.3.1/bin/bundle:23:in `load'
168
-
169
- /usr/local/rbenv/versions/2.3.1/bin/bundle:23:in `<main>'
170
-
171
- Errno::ENOENT: No such file or directory - mecab-config
172
-
173
- /home/anime/yurukyara/releases/20170428023040/config/application.rb:7:in `<top (required)>'
174
-
175
- /home/anime/yurukyara/releases/20170428023040/Rakefile:4:in `require'
176
-
177
- /home/anime/yurukyara/releases/20170428023040/Rakefile:4:in `<top (required)>'
178
-
179
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
180
-
181
- /usr/local/rbenv/versions/2.3.1/bin/bundle:23:in `load'
182
-
183
- /usr/local/rbenv/versions/2.3.1/bin/bundle:23:in `<main>'
184
-
185
- (See full trace by running task with --trace)
186
-
187
-
188
-
189
-
190
-
191
- ** DEPLOY FAILED
192
-
193
- ** Refer to log/capistrano.log for details. Here are the last 20 lines:
194
-
195
-
196
-
197
-
198
-
199
- /home/anime/yurukyara/releases/20170428023040/Rakefile:4:in `<top (required)>'
200
-
201
-
202
-
203
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
204
-
205
-
206
-
207
- /usr/local/rbenv/versions/2.3.1/bin/bundle:23:in `load'
208
-
209
-
210
-
211
- /usr/local/rbenv/versions/2.3.1/bin/bundle:23:in `<main>'
212
-
213
-
214
-
215
- DEBUG [b89dc987] Errno::ENOENT: No such file or directory - mecab-config
216
-
217
-
218
-
219
- DEBUG [b89dc987] /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto/binding.rb:51:in `find_library'
220
-
221
-
222
-
223
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto/binding.rb:64:in `<module:Binding>'
224
-
225
-
226
-
227
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto/binding.rb:6:in `<module:Natto>'
228
-
229
-
230
-
231
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto/binding.rb:2:in `<top (required)>'
232
-
233
-
234
-
235
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto/natto.rb:2:in `require'
236
-
237
-
238
-
239
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto/natto.rb:2:in `<top (required)>'
240
-
241
-
242
-
243
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto.rb:2:in `require'
244
-
245
-
246
-
247
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/natto-1.1.1/lib/natto.rb:2:in `<top (required)>'
248
-
249
-
250
-
251
- /home/anime/yurukyara/releases/20170428023040/config/application.rb:7:in `<top (required)>'
252
-
253
-
254
-
255
- /home/anime/yurukyara/releases/20170428023040/Rakefile:4:in `require'
256
-
257
-
258
-
259
- /home/anime/yurukyara/releases/20170428023040/Rakefile:4:in `<top (required)>'
260
-
261
-
262
-
263
- /home/anime/yurukyara/shared/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
264
-
265
-
266
-
267
- /usr/local/rbenv/versions/2.3.1/bin/bundle:23:in `load'
268
-
269
-
270
-
271
- /usr/local/rbenv/versions/2.3.1/bin/bundle:23:in `<main>'
272
-
273
-
274
-
275
- DEBUG [b89dc987] (See full trace by running task with --trace)
276
14
 
277
15
  ```
278
16
 
@@ -362,8 +100,56 @@
362
100
 
363
101
 
364
102
 
365
- ###補足情報(言語/FW/ツール等のバージョンなど)
103
+ ###追加
366
104
 
367
- Cloud9で開発を行ってます。
105
+ ```
368
106
 
107
+ $ ldconfig -p|grep -i '/usr/lib'
108
+
109
+ ```
110
+
111
+
112
+
113
+ 長いので[こちら](http://qiita.com/k_s/items/8d059237f95bd374f4ef)に載せました。
114
+
369
- どなかお力てください!
115
+ 解決しら投稿ます。
116
+
117
+
118
+
119
+ ```ここに言語を入力
120
+
121
+ $ ls -l /usr/lib
122
+
123
+ ```
124
+
125
+
126
+
127
+ 長いので[こちら](http://qiita.com/k_s/items/8d059237f95bd374f4ef)に載せました。
128
+
129
+ 解決したら投稿を消します。
130
+
131
+
132
+
133
+ ```
134
+
135
+ $ ls -l /usr
136
+
137
+ total 32
138
+
139
+ drwxr-xr-x 2 root root 4096 Apr 23 04:44 bin
140
+
141
+ drwxr-xr-x 2 root root 4096 Apr 10 2014 games
142
+
143
+ drwxr-xr-x 64 root root 4096 Apr 23 04:39 include
144
+
145
+ drwxr-xr-x 122 root root 4096 Apr 23 04:44 lib
146
+
147
+ drwxr-xr-x 26 root root 4096 Apr 22 05:19 local
148
+
149
+ drwxr-xr-x 2 root root 4096 Feb 20 02:53 sbin
150
+
151
+ drwxr-xr-x 315 root root 4096 Apr 23 04:44 share
152
+
153
+ drwxr-xr-x 2 root root 4096 Apr 10 2014 src
154
+
155
+ ```