/usr/bin/ld: cannot find -lltdl

FreeBSD 6.1-Releaseでphp4(php-4.4.4)をソースからインストールしようとしたら、make途中でこんなエラーが。

/usr/bin/ld: cannot find -lltdl
*** Error code 1

http://www.directadmin.com/forum/showthread.php?postid=51032 を見て解決。

# cd /path/to/libmcrypt-2.5.7/libltdl
# ./configure --enable-ltdl-install
# make
# make install
# make clean

libmcrypt-2.5.7/libltdlをインストールし、再度php4をインストールして完了。