dyld: Library not loaded: /usr/local/opt/jpeg/lib/libjpeg.8.dylib
Posted on August 22, 2017
(Last modified on September 3, 2019)
久しぶりにHomebrewでUpgradeかけたら、下記のエラーが出た
dyld: Library not loaded: /usr/local/opt/jpeg/lib/libjpeg.8.dylib
ほぼ、下記の記事が参考になる
https://qiita.com/maimai-swap/items/9ba6e5f877274079d755 私の環境の場合、jpegのバージョン8d,9bが混在しているようなので、下記のコマンドで戻せばOKでした。
[Read More]Homebrewでwarning: Insecure world writableが出るようになった
Posted on May 26, 2016
(Last modified on September 3, 2019)
ここ最近、Homebrewでまた下記のパーミッション警告が出るようになった。
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/rbconfig.rb:213: warning: Insecure world writable dir /usr/local in PATH, mode 040777
下記のコマンドで警告は出なくなった。
$ sudo chown $(whoami):admin /usr/local && sudo chown -R $(whoami):admin /usr/local
$ sudo chmod go-w /usr/local
$ brew update
homebrewのアップデートで失敗は、phinzeが原因
Posted on April 3, 2016
(Last modified on September 3, 2019)
久しぶりにbrewの更新をかけたら、下記のエラー
$ brew update ==> Tapping homebrew/core Cloning into '/usr/local/Library/Taps/homebrew/homebrew-core'... .... Error: Could not link phinze/cask manpages to: /usr/local/share/man/man1/brew-cask.1 Please delete these files and run `brew tap --repair`. どうやらphinzeは、しばらくメンテされていないようで、uptapしてあげれば良さそうです。
[Read More]Error: uninitialized constant Formulary::HOMEBREW_CORE_FORMULA_REGEX
Posted on August 13, 2015
(Last modified on September 3, 2019)
MacのHomebrewでアップデートをかけると、またもや下記のエラー
Error: uninitialized constant Formulary::HOMEBREW_CORE_FORMULA_REGEX
$ brew update Error: uninitialized constant Formulary::HOMEBREW_CORE_FORMULA_REGEX Please report this bug: https://git.io/brew-troubleshooting /usr/local/Library/Homebrew/formulary.rb:227:in loader_for' /usr/local/Library/Homebrew/formulary.rb:176:in factory' /usr/local/Library/Homebrew/cmd/update.rb:173:in block in report' /usr/local/Library/Homebrew/cmd/update.rb:159:in each_line' /usr/local/Library/Homebrew/cmd/update.rb:159:in report' /usr/local/Library/Homebrew/cmd/update.rb:24:in update' /usr/local/Library/brew.rb:140:in `<main>’
gitのトラブルシューティングを見ろとの事で、https://github.com/Homebrew/homebrew/issues/42553に書いてありました。
[Read More]HomebrewでのXcodeライセンスの警告
Posted on October 8, 2013
久しぶりにbrewをアップグレードしようと思ったらxcodeライセンスの警告がでた。
$ brew upgrade Warning: You have not agreed to the Xcode license. Builds will fail! Agree to the license by opening Xcode.app or running: xcodebuild -license 仰せの通りに、sudoにて
[Read More]ffmpeg2をHomebrewでインストールする
Posted on August 1, 2013
Homebrewのffmpegパッケージではバージョン1.xと古いので、ffmpeg2をbrewでインストールする方法。
もし、ffmpeg1.xがインストールされていたら、アンインストールしておいた方がトラブル回避されると思います。
[Read More]Homebrewのパスエラー
Posted on January 10, 2013
またまた、久々にHomebrewをアップデートしようとしたら、下記のエラー
$ brew update
error: Your local changes to the following files would be overwritten by merge:
Library/Contributions/cmds/brew-pull.rb
Library/Contributions/manpages/brew.1.md
Please, commit your changes or stash them before you can merge.
Aborting
Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master
[Read More]Xcodeアップデート後にfuse4xエラー
Posted on October 17, 2012
Xcode 4.5.1にアップデート後に、Homebrewにて、いつもの如くbrew upgradeしたら、fuse4xで引っかかってしまいました。
==> Summary
/usr/local/Cellar/fuse4x-kext/0.9.2: 6 files, 284K
==> Upgrading fuse4x
==> Downloading https://github.com/fuse4x/fuse/tarball/fuse4x _0_9_2
[Read More]HomebrewでFailure while executing:エラー
Posted on August 17, 2012
自宅のiMacで久々にHomebrewをUpdateしたら、下記のエラー。
$ brew update
error: The following untracked working tree files would be overwritten by merge:
Library/Aliases/twolame
Library/Contributions/cmds/brew-test-bot/brew-test-bot.commit.html.erb
Library/Contributions/cmds/brew-test-bot/brew-test-bot.css
Library/Contributions/cmds/brew-test-bot/brew-test-bot.index.html.erb
Library/Formula/aiccu.rb
Library/Formula/aws-cloudsearch.rb
Library/Formula/aws-sns-cli.rb
Library/Formula/byacc.rb
Library/Formula/cadubi.rb
Library/Formula/cdpr.rb
Library/Formula/cogl.rb
Library/Formula/cutter.rb
Library/Formula/debianutils.rb
Library/Formula/dynamips.rb
Library/Formula/fakeroot.rb
Library/Formula/flickcurl.rb
Library/Formula/freeswitch.rb
Library/Formula/genstats.rb
Library/Formula/gpsd.rb
Library/Formula/gtk+3.rb
Library/Formula/gzrt.rb
Library/Formula/https_load.rb
Library/Formula/hwloc.rb
Library/Formula/hyperestraier.rb
Library/Formula/ideviceinstaller.rb
Library/Formula/jasmin.rb
Library/Formula/jpeg-turbo.rb
Library/Formula/libspiro.rb
Library/Formula/libstfl.rb
Library/Formula/logentries.rb
Library/Formula/mame.rb
Library/Formula/md.rb
Library/Formula/mess.rb
Library/Formula/mysql-cluster.rb
Library/Formula/mysql-connector-odbc.rb
Library/Formula/ophcrack.rb
Library/Formula/opus-tools.rb
Library/Formula/opus.rb
Library/Formula/pam_yubico.rb
Library/Formula/pathfinder.rb
Library/Formula/qstat.rb
Library/Formula/qxmpp.rb
Library/Formula/rbenv-vars.rb
Library/Formula/ren.rb
Library/Formula/rom-tools.rb
Library/Formula/rtpbreak.rb
Library/Formula/txt2man.rb
Library/Formula/valkyrie.rb
Library/Formula/verilator.rb
Library/Formula/visualnetkit.rb
Library/Formula/voldemort.rb
Library/Formula/wemux.rb
Library/Formula/yydecode.rb
Library/Formula/zsh-completions.rb
Library/Homebrew/checksums.rb
Library/Homebrew/macos.rb
Library/Homebrew/macos/xcode.rb
Library/Homebrew/macos/xquartz.rb
Library/Homebrew/pkgconfig/libcurl.pc
Library/Homebrew/pkgconfig/libexslt.pc
Library/Homebrew/pkgconfig/libxml-2.0.pc
Library/Homebrew/pkgconfig/libxslt.pc
Library/Homebrew/test/test_bottles.rb
Please move or remove them before you can merge.
Aborting
Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master
[Read More]HomebrewのUpdateで失敗したときの対処
Posted on February 23, 2012
MacのHomebrewで、久しぶりにアップデートをかけたらエラーが出た。
$ brew update
remote: Counting objects: 6240, done.
remote: Compressing objects: 100% (2008/2008), done.
remote: Total 5606 (delta 4174), reused 4882 (delta 3584)
Receiving objects: 100% (5606/5606), 884.05 KiB | 383 KiB/s, done.
Resolving deltas: 100% (4174/4174), completed with 525 local objects.
From git://github.com/mxcl/homebrew
0db9961..51d054c master -> origin/master
error: unable to unlink old 'README.md' (Permission denied)
Updating 0db9961..51d054c
Error: Failed while executing git pull origin refs/heads/master:refs/remotes/origin/master
古くなっているので、gitを更新みたいな感じなので、それなりにやってみた。
ちょっと、無駄もあるかもしれないけど。
[Read More]