php-5.2.6がコンパイルできない

# make install
Installing PHP SAPI module:       apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp5.la /usr/local/apache2/modules/
cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
cp .libs/libphp5.a /usr/local/apache2/modules/libphp5.a
chmod 644 /usr/local/apache2/modules/libphp5.a
ranlib /usr/local/apache2/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish /usr/local/src/php/php-5.2.6/libs'
Warning!  dlname not found in /usr/local/apache2/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/libphp5.so
chmod: cannot access `/usr/local/apache2/modules/libphp5.so': そのようなファイルやディレクトリはありません
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] エラー 1

libtoolが怪しい気がしたので、OSで付いてきてたlibtoolを削除してからコンパイルし直したら解決した。

# rpm -e libtool
# make distclean
# ./configure (略)
# make && make install

そんなもん?あまり深追いして調べる気にならないけどまあいいや。