質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Webサーバー

Webサーバーとは、HTTPリクエストに応じて、クライアントに情報を提供するシステムです。

Python

Pythonは、コードの読みやすさが特徴的なプログラミング言語の1つです。 強い型付け、動的型付けに対応しており、後方互換性がないバージョン2系とバージョン3系が使用されています。 商用製品の開発にも無料で使用でき、OSだけでなく仮想環境にも対応。Unicodeによる文字列操作をサポートしているため、日本語処理も標準で可能です。

Q&A

0回答

805閲覧

エックスサーバーにLinuxbrewインストール中に出るエラーについて

yukiArc

総合スコア10

Webサーバー

Webサーバーとは、HTTPリクエストに応じて、クライアントに情報を提供するシステムです。

Python

Pythonは、コードの読みやすさが特徴的なプログラミング言語の1つです。 強い型付け、動的型付けに対応しており、後方互換性がないバージョン2系とバージョン3系が使用されています。 商用製品の開発にも無料で使用でき、OSだけでなく仮想環境にも対応。Unicodeによる文字列操作をサポートしているため、日本語処理も標準で可能です。

0グッド

0クリップ

投稿2021/04/12 13:33

前提・実現したいこと

レンタルサーバーのエックスサーバーにLinuxbrewをインストールしたい。

エックスサーバーにLinuxbrewのインストールを進めていたところエラーがでてインストールが完了しません。
参考サイト:https://note.com/coeeff/n/neab8acfde97e

実行コード

bash

1[【username】 ~]$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"

途中までは問題なく進みます。

bash

1==> Checking for `sudo` access (which may request your password). 2==> Select the Homebrew installation directory 3- Enter your password to install to /home/linuxbrew/.linuxbrew (recommended) 4- Press Control-D to install to /home/【username】/.linuxbrew 5- Press Control-C to cancel installation 6Sorry, user 【username】 may not run sudo on 【userid】. 7==> This script will install: 8/home/【username】/.linuxbrew/bin/brew 9/home/【username】/.linuxbrew/share/doc/homebrew 10/home/【username】/.linuxbrew/share/man/man1/brew.1 11/home/【username】/.linuxbrew/share/zsh/site-functions/_brew 12/home/【username】/.linuxbrew/etc/bash_completion.d/brew 13/home/【username】/.linuxbrew/Homebrew 14...

発生している問題・エラーメッセージ

bash

1==> Installing curl dependency: fontconfig 2==> Patching 3==> Applying 6def66164a36eed968aae872d76acfac3173d44a.patch 4patching file src/fcatomic.h 5==> ./configure --enable-static --with-add-fonts=/System/Library/Fonts,/Lib 6==> make install RUN_FC_CACHE_TEST=false 7Last 15 lines from /home/【username】/.cache/Homebrew/Logs/fontconfig/02.make: 8mv -f fcobjshash.h.tmp fcobjshash.h || ( rm -f fcobjshash.h.tmp && false ) 9gperf: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory 10WARNING: 'gperf' is missing on your system. 11 You might have modified some files without having the proper 12 tools for further handling them. Check the 'README' file, it 13 often tells you about the needed prerequisites for installing 14 this package. You may also peek at any GNU archive site, in 15 case some other package contains this missing 'gperf' program. 16make[1]: *** [fcobjshash.h] Error 1 17make[1]: *** Waiting for unfinished jobs.... 18config.status: executing src/fcstdint.h commands 19config.status: creating src/fcstdint.h : _FONTCONFIG_SRC_FCSTDINT_H 20config.status: src/fcstdint.h is unchanged 21make[1]: Leaving directory `/tmp/fontconfig-20210412-82514-r2hls9/fontconfig-2.13.1/src' 22make: *** [install-recursive] Error 1 23 24READ THIS: https://docs.brew.sh/Troubleshooting 25 26Error: 'curl' must be installed and in your PATH! 27Failed during: /home/【username】/.linuxbrew/bin/brew update --force --quiet

試したこと

いづれも同様の箇所で同じエラーが発生します。

  • 削除後の再インストール
  • 新しくレンタルサーバーを使用期間で申込みインストール

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

jbpb0

2021/04/12 15:47

> libstdc++.so.6: cannot open shared object file: No such file or directory 「libstdc++.so.6」が無いようなので、追加する必要があるのでは?
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問