Eugene,

It depends what distro your using, but you need to install libgcrypt (apt-get libgcrypt should do it on deb/Ubuntu systems or on RH with apt installed).

Ethan

Eugene de Winnaar wrote:
Hi all

I am trying to compile php5 onto one of my new servers.

Here is the configure that I am using
./configure  --with-apxs2=/usr/sbin/apxs --enable-safe-mode --with-openssl
--with-zlib --with-bz2 --enable-bcmath --enable-calender --enable-exif
--with-fam --enable-ftp --with-gd --enable-gd-native-ttf
--enable-gd-jis-conv --with-imap --with-imap-ssl --enable-mbstring
--with-mcrypt --with-mhash --with-mysql --enable-pcntl --with-readline
--enable-soap --enable-sockets --enable-wddx --with-xsl --with-pear
--with-kerberos --with-curl --with-ldap --with-ldap-sasl

That works fine no errors.

But when I run the make command I get a error.

/usr/bin/ld: cannot find -lgcrypt
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

Has anyone of you ever had this problem?
And how did you fix it.

Thank you
Eugene de Winnaar

Reply via email to