amberframework / micrate

Database migration tool written in Crystal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brew install broken with new libevent (2.1.12)

kalinon opened this issue · comments

Installed via brew:

(venv) ➜  database git:(master) ✗ brew install micrate
==> Installing micrate from juanedi/micrate
==> Downloading https://github.com/juanedi/micrate/releases/download/v0.3.0/micrate-0.3.0-darwin-x86-64.tar.gz
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/59595168/79d2b80e-cb6b-11e6-9c14-748a8cde848d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz
######################################################################## 100.0%
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you an update run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/more/.

🍺  /usr/local/Cellar/micrate/64: 3 files, 2.2MB, built in 4 seconds

When running get the following error:

(venv) ➜  crystal git:(master) ✗ micrate --help
dyld: Library not loaded: /usr/local/opt/libevent/lib/libevent-2.0.5.dylib
  Referenced from: /usr/local/bin/micrate
  Reason: image not found
[1]    42448 abort      micrate --help

Libevent is installed but is at a higher version:

(venv) ➜  crystal git:(master) ✗ brew install libevent
Updating Homebrew...
Warning: libevent 2.1.12 is already installed and up-to-date
To reinstall 2.1.12, run `brew reinstall libevent`

This is fixed in v0.9.0