Shammer's Philosophy

My private adversaria

Emacs faced with the error again


After upgrade my Mac to El Capitan, my Emacs faced with the error which I have resolved with Resolved the issue of 2016-02-12 - Shammerism. I resolved this again and this is a memo for me.


Newer openssl symbolic link is not created in /usr/local/bin by brew, so some more steps required after openssl installation via brew. Here is a message of brew why brew doesn't create symbolic link.

Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries

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/openssl/lib
    CPPFLAGS: -I/usr/local/opt/openssl/include

How to resolve?

The default path of El Capitan includes /usr/local/bin, default path is defined at /etc/paths. El Capitan's /etc/paths is below.

$ cat /etc/paths

Mavericks /etc/paths was not included /usr/local/bin and I didn't know which file makes default $PATH when I wrote Resolved the issue of 2016-02-12 - Shammerism. So I resolved the issue by the way which is complicated. El Capitan has a new function to prevent change /usr/bin by default, it is not good method to resolve my Emacs problem by changing /usr/bin. I resolved my Emacs problem simply creating a symbolic link.

Resolve procedures

  1. brew install openssl
  2. ln -s `brew --prefix openssl`/bin/openssl /usr/local/bin/openssl