[Modules] fail to compile mod_gnutls 0.5.5 in RHEL5 with GNUTLS 2.6.6 installed

Erick Calder e at arix.com
Sat Oct 3 13:54:26 EDT 2009


oh, thank you for asking.  it didn't occur to me!

On Sep 24, 2009, at 11:10 AM, Arnold Wang wrote:

> I tried to compile mod_gnutls 0.5.5 in RHEL 5(x86_64) with gnutls  
> 0.0.5 and libtasn1 1.8.2 installed. I received the following error  
> when it failed.
> ……….
> checking for libgnutls - version >= 2.4.0... no
> *** Could not run libgnutls test program, checking why...
> *** The test program failed to compile or link. See the file  
> config.log for the
> *** exact error that occured. This usually means LIBGNUTLS was  
> incorrectly installed
> *** or that you have moved LIBGNUTLS since it was installed. In the  
> latter case, you
> *** may want to edit the pkg-config script: /usr/bin/pkg-config
> configure: error:
> ***
> *** libgnutls was not found. You may want to get it from
> *** http://www.gnutls.org/
> …………….
> The following were from config.log.
> configure:11977: checking for libgnutls - version >= 2.4.0
> configure:12064: gcc -o conftest -O2 -g -m64 -mtune=generic      
> conftest.c  -lgn
> utls   >&5
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/ 
> libgnutls.a(gnutls_glob
> al.o): In function `gnutls_global_deinit':
> (.text+0xfb): undefined reference to `asn1_delete_structure'
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/ 
> libgnutls.a(gnutls_glob
> al.o): In function `gnutls_global_deinit':
> (.text+0x105): undefined reference to `asn1_delete_structure'
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/ 
> libgnutls.a(gnutls_glob
> al.o): In function `gnutls_global_init':
> (.text+0x157): undefined reference to `gcry_control'
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/ 
> libgnutls.a(gnutls_glob
> al.o): In function `gnutls_global_init':
> (.text+0x183): undefined reference to `gcry_set_allocation_handler'
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/ 
> libgnutls.a(gnutls_glob
> al.o): In function `gnutls_global_init':
> ………
> The complete log is attached.
> How should I trouble shoot this?
> Thanks.
>
> <config.log>
> _______________________________________________
> Modules mailing list
> Modules at lists.outoforder.cc
> http://lists.outoforder.cc/mailman/listinfo/modules

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.outoforder.cc/pipermail/modules/attachments/20091003/56079436/attachment.html 


More information about the Modules mailing list