Cannot Find-lltdl, compile PHP and make a mistake.
php "usr bin ld cannot find Lltdl" error occurred during the make process, with detailed errors as follows:
/usr/bin/ld:cannot Find-lltdl
Collect2:ld returned 1 exit status
Make: * * * [libphp5.la] Error 1
Search on Google for a long time, finally found the answer, originally in the editing of PHP added "–with-mcrypt" option caused. So the "USR bin ld cannot find Lltdl" error is resolved as follows:
1, if you do not need mcrypt, then edit php to remove the option, and then make, do install.
2, if need mcrypt, then need to install Libltdl
Libltdl in the Libmcrypt software package, the specific process:
#cd/software/libmcrypt-2.5.8/libltdl
#./configure–enable-ltdl-install
#make
#make Install
This time there's a new problem. Erroe:while loading Shared LIBRARIES:LIBLTDL.S,: Cannot open shared object File:no such file or directory
Then I have
#ln-S/usr/lib/libltdl.so/usr/lib/libltdl.so.3
Make install
Appeared cp:cannot stat ' Ext/phar/phar.phar ': No such file or directory
So I also: CD ext/phar/
Ls-l
The results found no Phar.phar this file!! So I suspect it was phar.php,
CP./phar.php./phar.phar
Make install
No more questions!! Problem solved!!
Author "Park Tree"
http://www.bkjia.com/PHPjc/478647.html www.bkjia.com true http://www.bkjia.com/PHPjc/478647.html techarticle cannot Find-lltdl, compile PHP again error PHP in the make process appears usr bin ld cannot find Lltdl error, detailed error is as follows:/usr/bin/ld:cannot Find-lltdl Coll Ect2:ld returned ...