Release: CVS HEAD 5 September 2005
Environment
Debian GNU/Linux
Description
Although ./configure says
checking for curl-config... no checking whether libcurl is usable... no
make fails with:
gcc -DGNUPG_LIBEXECDIR="\"/usr/local/libexec/gnupg\"" -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wformat-nonliteral -Wno-pointer-sign -o gpg g10.o build-packet.o compress.o compress-bz2.o free-packet.o getkey.o keydb.o keyring.o seskey.o kbnode.o mainproc.o armor.o mdfilter.o textfilter.o progress.o misc.o openfile.o keyid.o parse-packet.o status.o plaintext.o sig-check.o keylist.o signal.o cardglue.o tlv.o card-util.o app-openpgp.o iso7816.o apdu.o ccid-driver.o pkclist.o skclist.o pubkey-enc.o passphrase.o seckey-cert.o encr-data.o cipher.o encode.o sign.o verify.o revoke.o decrypt.o keyedit.o dearmor.o import.o export.o trustdb.o tdbdump.o tdbio.o delkey.o keygen.o pipemode.o helptext.o keyserver.o photoid.o exec.o ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a -lz -lbz2 -lreadline -ldl -lcurl
/usr/bin/ld: cannot find -lcurl
collect2: ld returned 1 exit status
How To Repeat
Do _not_ have libcurl development files installed
./autogen.sh
./configure --enable-maintainer-mode && make
Fix
Do not use libcurl when detected as unusable OR have ./configure fail if libcurl unusable