I got an error while compiling PHP, I am listing the details below.
Error configure error libxpm.(a so) not found
I have checked with dpkg -L libxpm-dev. it is showing the needed file is in the folder "/usr/lib/x86_64-linux-gnu/"(libXpm.a).
I have tried with --with-xpm-dir=/usr/lib/x86_64-linux-gnu, but error still exists.