libgcrypt

Reynold DeMarco Jr socal2007 at gmail.com
Thu Jun 8 21:57:56 CEST 2017


Thank you for this - I found libgcrypt version 1.7.7 at /usr/local/bin
which is not in my class path.

I will update my system to include the path or run with it on the
command line or both but at any

rate this solution will work for me.

Reynold


On 06/07/2017 11:14 PM, Werner Koch wrote:
> On Wed,  7 Jun 2017 23:32, socal2007 at gmail.com said:
>
>> I installed libgcrypt 1.7.7 on this machine but it reverts to the
>> distro installation of 1.6.6
> Did you install the correct libgcrypt*-dev package (assuming you are
> using a pre-packaged version) and can configure find it?  Enter
>
>    libgcrypt-config --version
>
> This should show you a 1.7 version number.  If it does not, try
>
>   which libgcrypt-config 
>
> this should show you from where it was executed.  Non-distro installed
> packages will find that script in /usr/local/bin and not in /usr/bin/.
>
> If not there are two ways to fix that:
>
>   - Put /usr/local/bin into your PATH right before /usr/bin.  You will
>     also need to run "hash -r" to tell the shell to forget all cached
>     program locations (or start a new shell).
>
> and
>
>   - Make sure /usr/local/lib is known to ldconfig.  That is put this
>     directory name into /etc/ld.so.conf or a separate file under
>     /etc/ld.so.conf.d/.  Then run ldconfig
>
> the second option is to
>
>   - Add 
>       --with-libgcrypt-prefix=/usr/local
>     (note: without the "/bin" part)
>     or whereever you installed libgcrypt 1.7
>     to the configure invocation
>
>   - To actually run things you need to make /usr/local/lib also known to
>     the runtime linke, as described above.  Alternatively you can set
>     LD_LIBRARY_PATH to that directory.
>
>
> Shalom-Salam,
>
>    Werner
>

-- 
Reynold DeMarco Jr.
socal2007 at gmail.com
sent from Thunderbird




More information about the Gnupg-users mailing list