6 msgkeyserver
1 msgGnuPG 1.9.95 released
8 msggpg error messag
4 msgHow to enable a block cipher or hash algorithm ...
2 msglibgcrypt: I think I found a mistake in doc/gcr...
9 msgRe: Question abut use of --cipher-algo AES &...
1 msgRe: Gnupg-users Digest, Vol 38, Issue 2
3 msgQuestion about use of --cipher-algo AES & -...
8 msgSummary: Windows GUI recommendation for USB disk
1 msgWindows GnuPG implementation for the enterprise
12 msgdeleting signatures from uids
9 msgLogo contest closed
2 msggpg strips '0x' on key searches...
1 msg[Announce] libassuan 1.0.0 released
1 msgLink error in 1.9.{91,92,93,94}

gpgkeys_hkp: error while loading shared librari...
\ Dead Loss (30 Oct 2006)
. \ David Shaw (30 Oct 2006)
. \ Dead Loss (30 Oct 2006)
. . \ David Shaw (30 Oct 2006)
. \ Dead Loss (30 Oct 2006)
. \ Dead Loss (30 Oct 2006)

4 msgFAQ 6.10: 'If I submit a key to a keyserver, no...
4 msgFSFE Smart Card
1 msgCould not change expiration date...
1 msgGnuPG smartcard + KDE?
Subject:gpgkeys_hkp: error while loading shared libraries: libcurl.so.3:
Group:Gnupg-users
From:Dead Loss
Date:30 Oct 2006


 
I have downloaded GnuPG-1.4.5 and successfully built it using

./configure –prefix=/usr/mylocal –libdir=/usr/local/lib \
–includedir=/usr/local/phplibs/include/ –with-libiconv-prefix=/usr/local/phplibs

as I do not have root access to my machine, but when I try to connect to pgp.mit.edu I get the following error

[mylogin][~]$ gpg –keyserver pgp.mit.edu –recv-keys 0×985A444B

gpg: requesting key 985A444B from hkp server pgp.mit.edu

/usr/mylocal/libexec/gnupg/gpgkeys_hkp: error while loading shared
libraries: libcurl.so.3: cannot open shared object file: No such file
or directory

gpg: no handler for keyserver scheme `hkp’

gpg: keyserver receive failed: keyserver error


What have I done wrong? Obviously gpgkeys_hkp is not able to resolve the library at run time, but how to fix this?

I had to edit keyserver/Makefile.am to get it to compile as it kept failing - could not find curl/curl.h (ksutils.c).

make[2]: Entering directory `/usr/home/mylogin/apps/dl/gnupg-1.4.5/keyserver'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl -g -O2 -Wall -MT gpgkeys_ldap-gpgkeys_ldap.o -MD -MP -MF ".deps/gpgkeys_ldap-gpgkeys_ldap.Tpo" -c -o gpgkeys_ldap-gpgkeys_ldap.o `test -f 'gpgkeys_ldap.c' || echo './'`gpgkeys_ldap.c; \
then mv -f ".deps/gpgkeys_ldap-gpgkeys_ldap.Tpo" ".deps/gpgkeys_ldap-gpgkeys_ldap.Po"; else rm -f ".deps/gpgkeys_ldap-gpgkeys_ldap.Tpo"; exit 1; fi
In file included from gpgkeys_ldap.c:47:
ksutil.h:26:23: curl/curl.h: No such file or directory
make[2]: *** [gpgkeys_ldap-gpgkeys_ldap.o] Error 1
make[2]: Leaving directory `/usr/home/mylogin/apps/dl/gnupg-1.4.5/keyserver'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/home/mylogin/apps/dl/gnupg-1.4.5'
make: *** [all] Error 2

I moved these definitions to the end and added $(gpgkeys_curl_CPPFLAGS)

gpgkeys_ldap_CPPFLAGS = @LDAP_CPPFLAGS@ $(gpgkeys_curl_CPPFLAGS)
gpgkeys_ldap_LDADD = ../util/libutil.a @LDAPLIBS@ @NETLIBS@ $(other_libs) @GETOPT@ @W32LIBS@

gpgkeys_finger_LDADD = ../util/libutil.a @NETLIBS@ $(other_libs) @GETOPT@ @W32LIBS@




Richard









_______________________________________________
Gnupg-users mailing list
Gnupg-users
http://lists.gnupg.org/mailman/listinfo/gnupg-users


© 2004-2008 readlist.com