Subject: | PHP won't build in debian |
Hi. I'm trying to install the PHP module in Ubuntu. It won't find the
php5 lib.
I fixed it changing this line in Makefile.PL:
LIBS => ["-L$config{prefix}/lib -lphp$config{version}",
"-L$config{prefix}/lib/php5 -lphp$config{version}" ],
In Debian the php5 lib is in /usr/lib/php5 as installed by the package
libphp5-embed. Now the tests run ok.