Re: [squid-users] Compiling squid-3.1.15 + openssl 1.0.0c

2011-09-06 Thread Amos Jeffries

On 06/09/11 00:44, Víctor José Hernández Gómez wrote:

Dear squid users,

I am trying to compile squid from source, using 3.1.15 and openssl
1.0.0c...

Server: RedHat 5.5 x86_64
GCC version is 4.1.2



Small mistake on the fixes for OpenSSL 1.0.0d problems.
Please try this patch:

http://www.squid-cache.org/Versions/v3/3.HEAD/changesets/squid-3-11702.patch

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.15
  Beta testers wanted for 3.2.0.11


Re: [squid-users] Compiling squid-3.1.15 + openssl 1.0.0c

2011-09-06 Thread Víctor José Hernández Gómez



I am trying to compile squid from source, using 3.1.15 and openssl
1.0.0c...

Server: RedHat 5.5 x86_64
GCC version is 4.1.2



Small mistake on the fixes for OpenSSL 1.0.0d problems.
Please try this patch:

http://www.squid-cache.org/Versions/v3/3.HEAD/changesets/squid-3-11702.patch


I am getting the same error.

Can I help you any other way?

--
Víctor


Re: [squid-users] Compiling squid-3.1.15 + openssl 1.0.0c

2011-09-06 Thread Amos Jeffries

On 06/09/11 23:24, Víctor José Hernández Gómez wrote:



I am trying to compile squid from source, using 3.1.15 and openssl
1.0.0c...

Server: RedHat 5.5 x86_64
GCC version is 4.1.2



Small mistake on the fixes for OpenSSL 1.0.0d problems.
Please try this patch:

http://www.squid-cache.org/Versions/v3/3.HEAD/changesets/squid-3-11702.patch



I am getting the same error.

Can I help you any other way?


Doh. I should have checked the filename. (you will need that patch when 
you get to certificates_db.cc anyway).



Yes, if you can find out whether those functions are actually defined in 
your openssl headers and if so why they are not being included from 
openssl/ssl.h it would help a lot.


Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.15
  Beta testers wanted for 3.2.0.11


Re: [squid-users] Compiling squid-3.1.15 + openssl 1.0.0c

2011-09-06 Thread Víctor José Hernández Gómez


 I am trying to compile squid from source, using 3.1.15 and openssl
 1.0.0c...

 Server: RedHat 5.5 x86_64
 GCC version is 4.1.2

 Small mistake on the fixes for OpenSSL 1.0.0d problems.
 Please try this patch:

 
http://www.squid-cache.org/Versions/v3/3.HEAD/changesets/squid-3-11702.patch


 I am getting the same error.

 Can I help you any other way?

 Doh. I should have checked the filename. (you will need that patch when
 you get to certificates_db.cc anyway).


 Yes, if you can find out whether those functions are actually defined in
 your openssl headers and if so why they are not being included from
 openssl/ssl.h it would help a lot.

 Amos

The error:

/usr/local/src/squid-3.1.15/src/ssl/gadgets.cc:108: undefined reference 
to `X509_set_issuer_name'
/usr/local/src/squid-3.1.15/src/ssl/gadgets.cc:115: undefined reference 
to `X509_set_notAfter'
/usr/local/src/squid-3.1.15/src/ssl/gadgets.cc:120: undefined reference 
to `X509_set_subject_name'
/usr/local/src/squid-3.1.15/src/ssl/gadgets.cc:125: undefined reference 
to `X509_set_pubkey'


Functions are defined in x509.h, located in /usr/local/ssl/include/openssl:

x509.h:int X509_set_issuer_name(X509 *x, X509_NAME *name);
x509.h:int X509_set_notAfter(X509 *x, const ASN1_TIME *tm);
x509.h:int X509_set_subject_name(X509 *x, X509_NAME *name);
x509.h:int X509_set_pubkey(X509 *x, EVP_PKEY *pkey);

The ssl.h file include openssl/x509.h, but I am not able to interpret 
correctly when the inclusion works. Let me know the way to do it, 
please. May I send you ssl.h?


Thanks,
--
Víctor



Re: [squid-users] Compiling squid-3.1.15 + openssl 1.0.0c

2011-09-06 Thread Amos Jeffries

On 07/09/11 00:43, Víctor José Hernández Gómez wrote:


  I am trying to compile squid from source, using 3.1.15 and openssl
  1.0.0c...
 
  Server: RedHat 5.5 x86_64
  GCC version is 4.1.2

  Small mistake on the fixes for OpenSSL 1.0.0d problems.
  Please try this patch:
 
 
http://www.squid-cache.org/Versions/v3/3.HEAD/changesets/squid-3-11702.patch


  I am getting the same error.
 
  Can I help you any other way?

  Doh. I should have checked the filename. (you will need that patch when
  you get to certificates_db.cc anyway).


  Yes, if you can find out whether those functions are actually defined in
  your openssl headers and if so why they are not being included from
  openssl/ssl.h it would help a lot.
 
  Amos

The error:

/usr/local/src/squid-3.1.15/src/ssl/gadgets.cc:108: undefined reference
to `X509_set_issuer_name'
/usr/local/src/squid-3.1.15/src/ssl/gadgets.cc:115: undefined reference
to `X509_set_notAfter'
/usr/local/src/squid-3.1.15/src/ssl/gadgets.cc:120: undefined reference
to `X509_set_subject_name'
/usr/local/src/squid-3.1.15/src/ssl/gadgets.cc:125: undefined reference
to `X509_set_pubkey'

Functions are defined in x509.h, located in /usr/local/ssl/include/openssl:

x509.h:int X509_set_issuer_name(X509 *x, X509_NAME *name);
x509.h:int X509_set_notAfter(X509 *x, const ASN1_TIME *tm);
x509.h:int X509_set_subject_name(X509 *x, X509_NAME *name);
x509.h:int X509_set_pubkey(X509 *x, EVP_PKEY *pkey);

The ssl.h file include openssl/x509.h, but I am not able to interpret
correctly when the inclusion works. Let me know the way to do it,
please. May I send you ssl.h?



Sure.


Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.15
  Beta testers wanted for 3.2.0.11