[Issues] [mod_gnutls 0000084]: Unable to compile on RHEL 5, 1 (64-bit)

Mantis Bug Tracker issues at outoforder.cc
Thu Oct 16 14:37:16 EDT 2008


The following issue has been RESOLVED. 
====================================================================== 
http://issues.outoforder.cc/view.php?id=84 
====================================================================== 
Reported By:                Sorb
Assigned To:                nmav
====================================================================== 
Project:                    mod_gnutls
Issue ID:                   84
Category:                   Compile or Build
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     resolved
Apache Version:             httpd-2.2.3-11.el5_1.3 
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-04-11 08:25 EDT
Last Modified:              2008-10-16 14:37 EDT
====================================================================== 
Summary:                    Unable to compile on RHEL 5,1 (64-bit)
Description: 
I am completely stuck at the configure phase. Here´s the error:

 checking for libgnutls-config... /usr/local/bin/libgnutls-config
 checking for libgnutls - version >= 2.2.1... no

Since RHEL 5.1 only comes with GnuTLS 1.4.1 I have uninstalled the
gnutls-devel package and built GnuTLS from the source. I have tried with
version 2.1.1, 2.2.2 and 2.3.4 but neither one works. If I run this
command...:

 /usr/local/bin/libgnutls-config --version

...then it says it´s version 2.2.2 (or 2.1.1 or 2.3.4 if I try with
that).

I have tried with both mod_gnutls 0.4.3 and 0.5.1 but I get the same
error. I have even tried brute forcing the configure script by setting the
versioning variable manually but it doesn´t help. I uncommented line 20302
and put after that:

 libgnutls_extra_config_version=6.6.6

...but it still says "no". Why can´t I get it to compile?

====================================================================== 

---------------------------------------------------------------------- 
 (0000108) Sorb (reporter) - 2008-04-11 09:34
 http://issues.outoforder.cc/view.php?id=84#c108 
---------------------------------------------------------------------- 
I finally get it!! I´ve been on the wrong track for hours but I finally
get it. I didn´t understand that "run-time linker" error so I kind of
just ignored it but now I suddenly figured out what it means.

I couldn´t remove the gnutls package since it had 159 dependencies so all
this time I unknowingly had an old version of libgnutls.so in /usr/lib and
the new version in /usr/local/lib/ and that´s what the configure script
complained about. I added /usr/local/lib to /etc/ld.so.conf and ran
"ldconfig" and now I can finally compile mod_gnutls!! Sorry about my
n00biness. I hope those 159 dependencies won´t have a conflict with this
new gnutls.so library though.

You can go ahead and close this bug. 

---------------------------------------------------------------------- 
 (0000111) nmav (manager) - 2008-04-18 01:33
 http://issues.outoforder.cc/view.php?id=84#c111 
---------------------------------------------------------------------- 
More feedback is required. Did you check config.log for the failure reason?
Did you run ldconfig after installing gnutls? 

---------------------------------------------------------------------- 
 (0000113) Sorb (reporter) - 2008-04-18 03:18
 http://issues.outoforder.cc/view.php?id=84#c113 
---------------------------------------------------------------------- 
Thanks for your reply but as I said the issue has been resolved. I've had
mod_gnutls up and running for a week and it works brilliantly. Thank you
very much for this software :) 

---------------------------------------------------------------------- 
 (0000128) nmav (manager) - 2008-10-16 14:37
 http://issues.outoforder.cc/view.php?id=84#c128 
---------------------------------------------------------------------- 
No actions required. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-04-11 08:25 Sorb           New Issue                                    
2008-04-11 08:25 Sorb           File Added: output.txt                       
2008-04-11 08:25 Sorb           Apache Version            =>
httpd-2.2.3-11.el5_1.3
2008-04-11 09:34 Sorb           Note Added: 0000108                          
2008-04-18 01:33 nmav           Note Added: 0000111                          
2008-04-18 01:33 nmav           Status                   new => feedback     
2008-04-18 03:18 Sorb           Note Added: 0000113                          
2008-10-16 14:37 nmav           Status                   feedback => resolved
2008-10-16 14:37 nmav           Resolution               open => no change
required
2008-10-16 14:37 nmav           Assigned To               => nmav            
2008-10-16 14:37 nmav           Note Added: 0000128                          
======================================================================




More information about the Issues mailing list