gnupg + libreadline + undefined reference
Ron Wezeman
i.r.wezeman at hetnet.nl
Sat Feb 17 02:29:22 CET 2007
With packages:
gpgme-1.0.3 libgcrypt-1.2.4 readline-5.2
gnupg-2.0.2 libassuan-1.0.1 ncurses-5.5 seahorse-0.9.91
-bash-3.1#
the next error:
gcc -I/srv/include -I/srv/include -g -O2 -Wall -Wno-pointer-sign -o
gpg2 gpg.o server.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 pkglue.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
helptext.o keyserver.o photoid.o call-agent.o card-util.o exec.o
-L/srv/lib -lgcrypt
-lgpg-error ../common/libcommon.a ../jnlib/libjnlib.a ../gl/libgnu.a ../common/libgpgrl.a -lz -lbz2 -lresolv -lreadline -L/srv/lib -lassuan -lgpg-error
/srv/lib/libreadline.so: undefined reference to `tgetnum'
/srv/lib/libreadline.so: undefined reference to `tgoto'
/srv/lib/libreadline.so: undefined reference to `tgetflag'
/srv/lib/libreadline.so: undefined reference to `BC'
/srv/lib/libreadline.so: undefined reference to `tputs'
/srv/lib/libreadline.so: undefined reference to `PC'
/srv/lib/libreadline.so: undefined reference to `tgetent'
/srv/lib/libreadline.so: undefined reference to `UP'
/srv/lib/libreadline.so: undefined reference to `tgetstr'
collect2: ld returned 1 exit status
make[2]: *** [gpg2] Error 1
make[2]: Leaving directory
`/usr/src/SOURCES/AC/20070202/gnupg-2.0.2/g10'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/src/SOURCES/AC/20070202/gnupg-2.0.2'
make: *** [install-recursive] Error 1
-bash-3.1#
It happens also with gnupg-1.4.6
Thanks.
Ron
More information about the Gnupg-devel
mailing list