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

Arnold Wang arnold.wang at inovis.com
Thu Sep 24 14:10:06 EDT 2009


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.outoforder.cc/pipermail/modules/attachments/20090924/1bd71e4e/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 274849 bytes
Desc: config.log
Url : http://lists.outoforder.cc/pipermail/modules/attachments/20090924/1bd71e4e/attachment-0001.obj 


More information about the Modules mailing list