I had the following the error , I could not start emacs.
emacs feature/refactoring
dyld: Library not loaded: /usr/local/opt/jpeg/lib/libjpeg.8.dylib
Referenced from: /usr/local/Cellar/emacs/25.2/Emacs.app/Contents/MacOS/Emacs
Reason: image not found
[1] 80638 trace trap /usr/local/Cellar/emacs/25.2/bin/emacs
Where is my libjpeg.8.dylib?
I think that my Mac has changed after I reinstall ffmpeg
ls -al /usr/local/opt/jpeg/lib/ ⏎ feature/refactoring
total 960
drwxr-xr-x 5 d-inoue admin 170 1 17 2016 .
drwxr-xr-x 9 d-inoue admin 306 9 8 17:43 ..
-r--r--r-- 1 d-inoue admin 207280 9 8 14:26 libjpeg.9.dylib
-r--r--r-- 1 d-inoue admin 276744 1 17 2016 libjpeg.a
lrwxr-xr-x 1 d-inoue admin 15 1 17 2016 libjpeg.dylib -> libjpeg.9.dylib
This is it!
wget -c http://www.ijg.org/files/jpegsrc.v8d.tar.gz
tar xzf jpegsrc.v8d.tar.gz
cd jpeg-8d
./configure
make
cp ./.libs/libjpeg.8.dylib /usr/local/opt/jpeg/lib