I am trying to register a Key with gpg to upgrade my debian system with aptitude. System is Debian 4.0 32bit.
Unfortunately I am getting an error. This is waht I try:
gpg --keyserver pgp.mit.edu --recv-keys [KEY]
The error:
error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory
gpg: requesting key 473041FA from hkp server pgp.mit.edu
gpg: no handler for keyserver scheme `hkp'
gpg: keyserver receive failed: keyserver error
Searching for libcurl.so.4 this is what I find:
/src/curl/curl-7.16.4/lib/.libs/libcurl.so.4
/src/curl/curl-7.16.4/lib/.libs/libcurl.so.4.0.0
/usr/local/lib/libcurl.so.4
/usr/local/lib/libcurl.so.4.0.0
Edit:
The /etc/ld.so.conf has only one entry:
include /etc/ld.so.conf.d/*.conf
ls -la /usr/local/lib/libcurl*
returns
-rw-r--r-- 1 root staff 5231754 2007-07-19 21:46 /usr/local/lib/libcurl.a
-rwxr-xr-x 1 root staff 828 2007-07-19 21:46 /usr/local/lib/libcurl.la
lrwxrwxrwx 1 root staff 16 2007-07-19 21:46 /usr/local/lib/libcurl.so -> libcurl.so.4.0.0
lrwxrwxrwx 1 root staff 16 2007-07-19 21:46 /usr/local/lib/libcurl.so.4 -> libcurl.so.4.0.0
-rwxr-xr-x 1 root staff 2512584 2007-07-19 21:46 /usr/local/lib/libcurl.so.4.0.0