(SOLVED)Re: gnupg installation problem gpg(working) , gpg2 & spgsm (are not working)

Prasanth Thandra prasanth_thandra at yahoo.co.in
Tue Aug 10 05:29:08 CEST 2010


Dear Tom
i followed the instructions of you ... i worked for me too like magic... Thanks alot.. 

From: Tom Pegios <tomp at idirect.com>
Subject: Re: gnupg installation problem
To: "GnuPG Users List" <gnupg-users at gnupg.org>
Date: Friday, 6 August, 2010, 5:35 PM

Prasanth Thandra wrote:
> 
> Hi,
> i am installing GNUPG 2.0.15 on RHEL4. As suggested by readme doc i installed 
> libgpg-error-1.8libgcrypt-1.4.5libassuan-2.0.0libksba-1.0.6pinentry-0.8.0
> using  the instructions ./configure, make, make install .... in the above order. Finally i installed GNUPG 2.0.15. I have created .gnupg in my home dir, and gpg.conf using  /usr/local/share/gnupg/gpg-conf.skel i added keyserver hkp://localhost (i configured local sks server for testing)keyserver-options auto-key-retrive.
> i have generated a key-pair #gpg --gen-keysand exported to local keyserver #gpg --send-key KEYIDi have not faced any problem till then
> BUT.. when i am trying to invoke gpg-agent, gpg2 or gpgsm iam getting
>  errors
> [root at localhost ~]# gpg-agent --daemon
> gpg-agent: error while loading shared libraries: libassuan.so.0: cannot open shared object file: No such file or directory
> 
> [root at localhost ~]# gpg2
> gpg2: error while loading shared libraries: libassuan.so.0: cannot open shared object file: No such file or directory
> [root at localhost ~]# gpgsm
> gpgsm: error while loading shared libraries: libksba.so.8: cannot open shared object file: No such file or directory
> i am clueless about what is happening or what to do to correct these errors... whether my installation was not complete ????
> PLEASE HELP ME ...THANKING YOU
> 

Hello Prasanth Thandra

    I had the same problem with gpg2 in Ubuntu 10.04 , my solution was as
follows:

in the folder /etc/ld.so.conf.d create a file called gpg2.conf (as root)

gpg2.conf contains one line
"/usr/local/lib" (without quotes)

reboot system or enter the command "ldconfig -v" (without quotes)

gpg2 was able to find libksba.so.0

Tom Pegios






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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20100810/2a5db2ea/attachment.htm>


More information about the Gnupg-users mailing list