mixiユーザー(id:7593622)

2020年01月18日17:13

39 view

llvmを再インストールして、環境変数を設定しても、やはりエラーの結果は変わらず

だめだぁ。まあ予想はついたけども。
とりあえず問い合わせしつつ、 jubatus-installer を頑張ってみるか。

だめだったので、llvm はまたアンインストール。

*** ログ的なもの ***

再度 llvm をインストール
$ brew install llvm
  以下略


環境変数を設定
$ export PATH="/usr/local/opt/llvm/bin:$PATH"
$ env | grep PATH
PATH=/usr/local/opt/llvm/bin:/Users/tetsu_r/.rbenv/bin:/usr/local/opt/openssl/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/mysql/bin
$ env | grep FLAGS
$ export LDFLAGS="-L/usr/local/opt/llvm/lib"
$ export CPPFLAGS="-I/usr/local/opt/llvm/include"
$ env | grep FLAGS
LDFLAGS=-L/usr/local/opt/llvm/lib
CPPFLAGS=-I/usr/local/opt/llvm/include
$


再実行も結果変わらず
$ brew install jubatus
  中略
Last 15 lines from /Users/tetsu_r/Library/Logs/Homebrew/jubatus-core/02.waf:
  中略
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Waf: Leaving directory `/private/tmp/jubatus-core-20200118-28632-c0fa96/jubatus_core-1.1.1/build'
Build failed
-> task in 'jubatus_core' failed with exit status 1 (run with -v to display more information)

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/jubatus/homebrew-jubatus/issues

$


LDFLAGSの設定を変えてみても同じ
$ export LDFLAGS="-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib"
$ env | grep FLAGS
LDFLAGS=-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib
CPPFLAGS=-I/usr/local/opt/llvm/include
$ brew install jubatus
  中略
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Waf: Leaving directory `/private/tmp/jubatus-core-20200118-30192-1yk8n6t/jubatus_core-1.1.1/build'
Build failed
-> task in 'jubatus_core' failed with exit status 1 (run with -v to display more information)

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/jubatus/homebrew-jubatus/issues


llvm アンインストール
$ brew uninstall llvm
Uninstalling /usr/local/Cellar/llvm/9.0.0_1... (6,839 files, 3.7GB)
$
0 0

コメント

mixiユーザー

ログインしてコメントを確認・投稿する

<2020年01月>
   1234
567891011
12131415161718
19202122232425
262728293031