[Help-gnutls] Re: /usr/local/lib/libgnuttls.so: undefined reference to `gcry_cipher_setkey at GCRYPT_1.2'

Michael Darling darlingm at gmail.com
Thu May 7 16:26:03 CEST 2009


Hi,

You are correct, there are multiple versions of libgcrypt installed.  How do
I proceed?  I was thinking it was important to leave the CentOS installed
version for compatibility with all of its other installed packages expecting
that version.  Perhaps I'm completely wrong here, I have a decent amount of
unix/CentOS experience but I haven't studied up on multiple library
versions.

Through yum, installed packages:
libgcrypt-1.2.4-1.el5.i386
libgcrypt-1.2.4-1.el5.x86_64
libgcrypt-devel-1.2.4-1.el5.i386
libgcrypt-devel-1.2.4-1.el5.x86_64

I can't remember which, but one of the dependencies of vmime required a more
recent gcrypt, so either libvmime libgnutls or libgsasl.

Installed libgcrypt-1.4.4 from source.

$ locate libgcrypt
/usr/bin/libgcrypt-config
/usr/lib/libgcrypt.a
/usr/lib/libgcrypt.so
/usr/lib/libgcrypt.so.11
/usr/lib/libgcrypt.so.11.2.3
/usr/lib64/libgcrypt.a
/usr/lib64/libgcrypt.so
/usr/lib64/libgcrypt.so.11
/usr/lib64/libgcrypt.so.11.2.3
/usr/local/bin/libgcrypt-config
/usr/local/lib/libgcrypt.a
/usr/local/lib/libgcrypt.la
/usr/local/lib/libgcrypt.so
/usr/local/lib/libgcrypt.so.11
/usr/local/lib/libgcrypt.so.11.5.2
/usr/local/share/aclocal/libgcrypt.m4
/usr/share/aclocal/libgcrypt.m4
/var/cache/yum/base/headers/libgcrypt-devel-1.2.3-1.x86_64.hdr
/var/cache/yum/base/packages/libgcrypt-1.2.4-1.el5.i386.rpm
/var/cache/yum/base/packages/libgcrypt-1.2.4-1.el5.x86_64.rpm
/var/cache/yum/base/packages/libgcrypt-devel-1.2.3-1.x86_64.rpm
/var/cache/yum/base/packages/libgcrypt-devel-1.2.4-1.el5.i386.rpm
/var/cache/yum/base/packages/libgcrypt-devel-1.2.4-1.el5.x86_64.rpm

# ldconfig -v | grep libgcrypt
        libgcrypt.so.11 -> libgcrypt.so.11.5.2
        libgcrypt.so.11 -> libgcrypt.so.11.2.3
        libgcrypt.so.11 -> libgcrypt.so.11.2.3

Thanks!

Mike

On Thu, May 7, 2009 at 5:15 AM, Simon Josefsson <simon at josefsson.org> wrote:

> Michael Darling <darlingm at gmail.com> writes:
>
> > Also, in case needed :
> > $ locate libgnutls
>
> Thanks.  Can you do the same for libgcrypt?  I think your problem is
> really a libgcrypt issue.
>
> /Simon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20090507/e4854758/attachment.htm>


More information about the Gnutls-help mailing list