Invalid library (maybe not a PHP library)

Add simplexml to php.

When I input command ‘php -m’, output ‘Invalid library (maybe not a PHP library)’.

Afer I re-make ext/simplexml, probem still appear.

A few minutes, I find php/modules contain simplexml.so, however make install create other path.

I re-make again:

pipize –clean

pipize

./configure –with-php-config=/usr/local/php/bin/php-config

make

make install

php -m, that is ok