./configure --enable-embed --enable-maintainer-zts --disable-short-tags --enable-pcntl --with-tsrm-pthreads --with-mysqli --with-mysql --with- pdo-mysql --with-zlib --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-bcmath --enable-calendar --enable-exif --enable-ftp --with-gd --enable-gd-native-ttf --enable-gd-jis-conv --with-iconv-dir --with-gettext --with-imap --with-imap-ssl --with-ldap --with-ldap-sasl --enable- mbstring --with-mcrypt --with-mhash --enable-soap --enable-sockets --enable-wddx --with-xmlrpc --with-xsl --enable-zip --with-kerberos --with-tidy --with-curl --with-curlwrappersSOLUTION.
First lets take a look at the error again.
/usr/bin/ld: cannot find -lltdl collect2: ld returned 1 exit status make: *** [libphp5.la] Error 1The portion we are interested is cannot find -lltdl, this tells us the header file libltdl.so cannot be found. To resolve this:
- Install the header file via
apt-get install libtool
- If you're configuring for MySQL, install libdbd-mysql
apt-get install libdbd-mysql
- Run
make clean ./configure -- with your additonal configure options make make install
No comments:
Post a Comment