On Wed, 7 Jun 2017 23:32, [email protected] 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
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
pgpDqpzvf6vJm.pgp
Description: PGP signature
_______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
