PHP - CentOS 7 - /usr/bin/ld: cannot find -lltdl

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

PHP - CentOS 7 - /usr/bin/ld: cannot find -lltdl

при компиляции PHP на CentOS ошибка вида:

dl -lxml2 -lz -lm -ldl -lcrypt  -o sapi/cgi/php-cgi
/usr/bin/ld: cannot find -lltdl
collect2: error: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1


Решение:

# yum install libtool-ltdl-devel