I am trying to install Emacs 24.5 on Ubuntu 14.04 by following this guide. I have downloaded Emacs 24.5 package from FTP and proceeded with
./configure which ran ok, but after running
make getting this error :
/usr/bin/ld: cannot find -lpng16 collect2: error: ld returned 1 exit status make: *** [temacs] Error 1
Tried the same with Emacs 24.4, and same issue. How to install the missing dependency?