Showing posts with label mail (Unix). Show all posts
Showing posts with label mail (Unix). Show all posts

Wednesday, October 19, 2016

macOS Sierra: mail (Unix): Error and Fix: Homebrew Upgrade: Upgrading GNU AWK

Error message in mail:

dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib
  Referenced from: /usr/local/bin/gawk
  Reason: image not found


Command:

$ ls /usr/local/opt/readline/lib/


Result:

libhistory.7.0.dylib libhistory.a libreadline.7.0.dylib libreadline.a
libhistory.7.dylib libhistory.dylib libreadline.7.dylib libreadline.dylib


Command:

$ brew upgrade


Result:

==> Upgrading 14 outdated packages, with result:
eigen 3.2.10, gawk 4.1.4_1, git 2.10.1, googler 2.8, hugo 0.17, macvim 8.0-112, mercurial 3.9.2, nmap 7.30, homebrew/python/numpy 1.11.2, pyenv 1.0.2_1, python 2.7.12_2, python3 3.5.2_3, sqlite 3.15.0, vim 8.0.0041
==> Upgrading eigen
==> Downloading https://homebrew.bintray.com/bottles/eigen-3.2.10.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring eigen-3.2.10.sierra.bottle.tar.gz
🍺  /usr/local/Cellar/eigen/3.2.10: 369 files, 3.5M
==> Upgrading gawk
==> Downloading https://homebrew.bintray.com/bottles/gawk-4.1.4_1.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring gawk-4.1.4_1.sierra.bottle.tar.gz
🍺  /usr/local/Cellar/gawk/4.1.4_1: 64 files, 2.8M
==> Upgrading git
==> Downloading https://homebrew.bintray.com/bottles/git-2.10.1.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring git-2.10.1.sierra.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completion has been installed to:
  /usr/local/share/zsh/site-functions

Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/git
==> Summary
🍺  /usr/local/Cellar/git/2.10.1: 1,439 files, 31.8M
==> Upgrading googler
==> Installing dependencies for googler: sqlite, python3
==> Installing googler dependency: sqlite
==> Downloading https://homebrew.bintray.com/bottles/sqlite-3.15.0.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring sqlite-3.15.0.sierra.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

macOS provides an older sqlite3.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/sqlite/lib
    CPPFLAGS: -I/usr/local/opt/sqlite/include
    PKG_CONFIG_PATH: /usr/local/opt/sqlite/lib/pkgconfig

==> Summary
🍺  /usr/local/Cellar/sqlite/3.15.0: 11 files, 2.9M
==> Installing googler dependency: python3
Warning: Building python3 from source:
  The bottle needs the Apple Command Line Tools to be installed.
  You can install them, if desired, with:
    xcode-select --install

==> Using the sandbox
==> Downloading https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz
######################################################################## 100.0%
==> Downloading https://bugs.python.org/file30805/issue10910-workaround.txt
######################################################################## 100.0%
==> Patching
==> Applying issue10910-workaround.txt
patching file Include/pyport.h
Hunk #1 succeeded at 688 (offset -11 lines).
Hunk #2 succeeded at 711 (offset -11 lines).
==> ./configure --prefix=/usr/local/Cellar/python3/3.5.2_3 --enable-ipv6 --datarootdir=/usr/local/Cellar/python3/3.5.2_3/share --datadir=/usr/local/Cellar/python3/3.5.2_3/share --enable-framework=/usr/local/Cellar/python3/3.5
==> make
==> make install PYTHONAPPSDIR=/usr/local/Cellar/python3/3.5.2_3
==> make frameworkinstallextras PYTHONAPPSDIR=/usr/local/Cellar/python3/3.5.2_3/share/python3
==> Downloading https://files.pythonhosted.org/packages/9f/32/81c324675725d78e7f6da777483a3453611a427db0145dfb878940469692/setuptools-25.2.0.tar.gz
######################################################################## 100.0%
==> Downloading https://pypi.python.org/packages/e7/a8/7556133689add8d1a54c0b14aeff0acb03c64707ce100ecd53934da1aa13/pip-8.1.2.tar.gz
######################################################################## 100.0%
==> Downloading https://pypi.python.org/packages/source/w/wheel/wheel-0.29.0.tar.gz
######################################################################## 100.0%
==> /usr/local/Cellar/python3/3.5.2_3/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python3/3.5.2_3/bin --install-lib=/usr/local/lib/python3.5/site-packages --single-versi
==> /usr/local/Cellar/python3/3.5.2_3/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python3/3.5.2_3/bin --install-lib=/usr/local/lib/python3.5/site-packages --single-versi
==> /usr/local/Cellar/python3/3.5.2_3/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python3/3.5.2_3/bin --install-lib=/usr/local/lib/python3.5/site-packages --single-versi
==> Caveats
Pip, setuptools, and wheel have been installed. To update them
  pip3 install --upgrade pip setuptools wheel

You can install Python packages with
  pip3 install <package>

They will install into the site-package directory
  /usr/local/lib/python3.5/site-packages

See: https://github.com/Homebrew/brew/blob/master/docs/Homebrew-and-Python.md

.app bundles were installed.
Run `brew linkapps python3` to symlink these to /Applications.
==> Summary
🍺  /usr/local/Cellar/python3/3.5.2_3: 7,720 files, 109.4M, built in 2 minutes 22 seconds
==> Installing googler
==> Downloading https://homebrew.bintray.com/bottles/googler-2.8.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring googler-2.8.sierra.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completion has been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
🍺  /usr/local/Cellar/googler/2.8: 11 files, 161.0K
==> Upgrading hugo
==> Downloading https://homebrew.bintray.com/bottles/hugo-0.17.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring hugo-0.17.sierra.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
🍺  /usr/local/Cellar/hugo/0.17: 32 files, 16M
==> Upgrading macvim
==> Downloading https://github.com/macvim-dev/macvim/archive/snapshot-112.tar.gz
==> Downloading from https://codeload.github.com/macvim-dev/macvim/tar.gz/snapshot-112
######################################################################## 100.0%
==> ./configure --with-features=huge --enable-multibyte --with-macarchs=x86_64 --enable-perlinterp --enable-rubyinterp --enable-tclinterp --with-tlib=ncurses --with-compiledby=Homebrew --with-local-dir=/usr/local --enable-csc
==> make
==> Caveats
.app bundles were installed.
Run `brew linkapps macvim` to symlink these to /Applications.
==> Summary
🍺  /usr/local/Cellar/macvim/8.0-112: 2,102 files, 33.6M, built in 1 minute 56 seconds
==> Upgrading mercurial
==> Installing dependencies for mercurial: python
==> Installing mercurial dependency: python
Warning: Building python from source:
  The bottle needs the Apple Command Line Tools to be installed.
  You can install them, if desired, with:
    xcode-select --install

==> Downloading https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tar.xz
######################################################################## 100.0%
==> Downloading https://bugs.python.org/file30805/issue10910-workaround.txt
######################################################################## 100.0%
==> Patching
==> Applying issue10910-workaround.txt
patching file Include/pyport.h
Hunk #1 succeeded at 713 (offset 14 lines).
Hunk #2 succeeded at 736 (offset 14 lines).
==> ./configure --prefix=/usr/local/Cellar/python/2.7.12_2 --enable-ipv6 --datarootdir=/usr/local/Cellar/python/2.7.12_2/share --datadir=/usr/local/Cellar/python/2.7.12_2/share --enable-framework=/usr/local/Cellar/python/2.7.
==> make
==> make install PYTHONAPPSDIR=/usr/local/Cellar/python/2.7.12_2
==> make frameworkinstallextras PYTHONAPPSDIR=/usr/local/Cellar/python/2.7.12_2/share/python
==> Downloading https://files.pythonhosted.org/packages/9f/7c/0a33c528164f1b7ff8cf0684cf88c2e733c8ae0119ceca4a3955c7fc059d/setuptools-23.1.0.tar.gz
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/e7/a8/7556133689add8d1a54c0b14aeff0acb03c64707ce100ecd53934da1aa13/pip-8.1.2.tar.gz
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/c9/1d/bd19e691fd4cfe908c76c429fe6e4436c9e83583c4414b54f6c85471954a/wheel-0.29.0.tar.gz
######################################################################## 100.0%
==> /usr/local/Cellar/python/2.7.12_2/bin/python -s setup.py --no-user-cfg install --force --verbose --single-version-externally-managed --record=installed.txt --install-scripts=/usr/local/Cellar/python/2.7.12_2/bin --install
==> /usr/local/Cellar/python/2.7.12_2/bin/python -s setup.py --no-user-cfg install --force --verbose --single-version-externally-managed --record=installed.txt --install-scripts=/usr/local/Cellar/python/2.7.12_2/bin --install
==> /usr/local/Cellar/python/2.7.12_2/bin/python -s setup.py --no-user-cfg install --force --verbose --single-version-externally-managed --record=installed.txt --install-scripts=/usr/local/Cellar/python/2.7.12_2/bin --install
==> Caveats
Pip and setuptools have been installed. To update them
  pip install --upgrade pip setuptools

You can install Python packages with
  pip install <package>

They will install into the site-package directory
  /usr/local/lib/python2.7/site-packages

See: https://github.com/Homebrew/brew/blob/master/docs/Homebrew-and-Python.md

.app bundles were installed.
Run `brew linkapps python` to symlink these to /Applications.
==> Summary
🍺  /usr/local/Cellar/python/2.7.12_2: 6,289 files, 85.5M, built in 2 minutes 28 seconds
==> Installing mercurial
==> Downloading https://homebrew.bintray.com/bottles/mercurial-3.9.2.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring mercurial-3.9.2.sierra.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completion has been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
🍺  /usr/local/Cellar/mercurial/3.9.2: 428 files, 5.8M
==> Upgrading nmap
==> Downloading https://homebrew.bintray.com/bottles/nmap-7.30.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring nmap-7.30.sierra.bottle.tar.gz
🍺  /usr/local/Cellar/nmap/7.30: 748 files, 23.9M
==> Upgrading homebrew/python/numpy
==> Downloading https://homebrew.bintray.com/bottles-python/numpy-1.11.2.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring numpy-1.11.2.sierra.bottle.tar.gz
🍺  /usr/local/Cellar/numpy/1.11.2: 433 files, 9M
==> Upgrading pyenv
==> Downloading https://github.com/yyuu/pyenv/archive/v1.0.2.tar.gz
Already downloaded: /Users/USERNAME/Library/Caches/Homebrew/pyenv-1.0.2.tar.gz
==> Caveats
To use Homebrew's directories rather than ~/.pyenv add to your profile:
  export PYENV_ROOT=/usr/local/var/pyenv

To enable shims and autocompletion add to your profile:
  if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi
==> Summary
🍺  /usr/local/Cellar/pyenv/1.0.2_1: 522 files, 2.2M, built in 1 second
==> Upgrading vim
==> Downloading https://github.com/vim/vim/archive/v8.0.0041.tar.gz
==> Downloading from https://codeload.github.com/vim/vim/tar.gz/v8.0.0041
######################################################################## 100.0%
==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.0.0041/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --with-compiledby=Homebrew --enable-luainterp --enable-perlinterp --enable-pythonint
==> make
==> make install prefix=/usr/local/Cellar/vim/8.0.0041 STRIP=/usr/bin/true
🍺  /usr/local/Cellar/vim/8.0.0041: 1,705 files, 23.3M, built in 1 minute 16 seconds