Solve error file compiling PHP configure: error: libXpm.(a|so) not found
11,071
Solution 1
I got past this by doing
sudo ln -s /usr/lib/x86_64-linux-gnu/libXpm.a /usr/lib/libXpm.a
You can also set the lib dir by adding
'--with-libdir=/usr/lib/x86_64-linux-gnu'
to the configure line but that missed some of the ones in /usr/lib.
Solution 2
Hello I solved couple of problems via this link I hope it would help you.
http://zgadzaj.com/how-to-install-php-53-and-52-together-on-ubuntu-1204
Related videos on Youtube
Author by
Dipu R
Updated on September 18, 2022Comments
-
Dipu R over 1 year
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. -
Kevin Bowen about 11 yearsWelcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.