undefined symbol: RSA_generate_key

I've got a Linux box with OpenSSL 0.9.8a installed (configured with
threads, zlib & shared) I then configured and installed Apache 2.0.55
with SSL support (configure --enable-ssl --enable-mods-shared=all)

When I try and start Apache, (httpd -D SSL) I get the error:

Cannot load (path)/mod_ssl.so into server (path)/mod_ssl.so: undefined
symbol: RSA_Generate_key

Suggestions ?

Thanks,

GTG
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users [at] modssl.org
Automated List Manager majordomo [at] modssl.org
Gordon Ross [ Di, 07 Februar 2006 11:30 ] [ ID #1177052 ]

Re: undefined symbol: RSA_generate_key

------=_Part_5182_12820168.1139349763015
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On 2/7/06, Gordon Ross <G.Ross [at] ccw.gov.uk> wrote:
> I've got a Linux box with OpenSSL 0.9.8a installed (configured with
> threads, zlib & shared) I then configured and installed Apache 2.0.55
> with SSL support (configure --enable-ssl --enable-mods-shared=3Dall)
>
> When I try and start Apache, (httpd -D SSL) I get the error:
>
> Cannot load (path)/mod_ssl.so into server (path)/mod_ssl.so: undefined
> symbol: RSA_Generate_key

It's highly likely this is the same problem described by me long long ago o=
n
this forum related to X509_free being undefined. Take a look at this:

http://www.mail-archive.com/modssl-users [at] modssl.org/msg14344 .html

The short short version is that you should try recompiling apache with
--enable-ssl=3Dstatic .

--Cliff

------=_Part_5182_12820168.1139349763015
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On 2/7/06, Gordon Ross <<a href=3D"mailto:G.Ross [at] ccw.gov.uk">G.Ross [at] ccw.=
gov.uk</a>> wrote:<br>> I've got a Linux box with OpenSSL 0.9.8a inst=
alled (configured with<br>> threads, zlib & shared) I then configure=
d and installed Apache
2.0.55<br>> with SSL support (configure --enable-ssl --enable-mods-share=
d=3Dall)<br>> <br>> When I try and start Apache, (httpd -D SSL) I get=
the error:<br>> <br>> Cannot load (path)/mod_ssl.so into server (pat=
h)/mod_ssl.so: undefined
<br>> symbol: RSA_Generate_key<br><br>It's highly likely this is the sam=
e problem described by me long long ago on this forum related to X509_free =
being undefined.  Take a look at this:<br><br><a href=3D"http://www.ma=
il-archive.com/modssl-users [at] modssl.org/msg14344.html">
http://www.mail-archive.com/modssl-users [at] modssl.org/msg14344 .html</a><br><b=
r>The short short version is that you should try recompiling apache with --=
enable-ssl=3Dstatic .<br><br>--Cliff<br>

------=_Part_5182_12820168.1139349763015--
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users [at] modssl.org
Automated List Manager majordomo [at] modssl.org
Cliff Woolley [ Di, 07 Februar 2006 23:02 ] [ ID #1177054 ]

Re: undefined symbol: RSA_generate_key

On Tue, Feb 07, 2006 at 05:02:43PM -0500, Cliff Woolley wrote:
> On 2/7/06, Gordon Ross <G.Ross [at] ccw.gov.uk> wrote:
> > I've got a Linux box with OpenSSL 0.9.8a installed (configured with
> > threads, zlib & shared) I then configured and installed Apache 2.0.55
> > with SSL support (configure --enable-ssl --enable-mods-shared=all)
> >
> > When I try and start Apache, (httpd -D SSL) I get the error:
> >
> > Cannot load (path)/mod_ssl.so into server (path)/mod_ssl.so: undefined
> > symbol: RSA_Generate_key
>
> It's highly likely this is the same problem described by me long long ago on
> this forum related to X509_free being undefined. Take a look at this:
>
> http://www.mail-archive.com/modssl-users [at] modssl.org/msg14344 .html
>
> The short short version is that you should try recompiling apache with
> --enable-ssl=static .

Or upgrade to 2.2, which fixes this problem ;)

joe
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users [at] modssl.org
Automated List Manager majordomo [at] modssl.org
Joe Orton [ Di, 07 Februar 2006 23:30 ] [ ID #1177055 ]

Re: undefined symbol: RSA_generate_key

>>> On 07 February 2006 at 22:02:43, in message
<ea38659c0602071402t6e1cf3e0k2e9269e6fc3df98f [at] mail.gmail.com>,
jwoolley [at] apache.org wrote:
> On 2/7/06, Gordon Ross <G.Ross [at] ccw.gov.uk> wrote:
>> I've got a Linux box with OpenSSL 0.9.8a installed (configured with
>> threads, zlib & shared) I then configured and installed Apache
2.0.55
>> with SSL support (configure --enable-ssl --enable-mods-shared=all)
>>
>> When I try and start Apache, (httpd -D SSL) I get the error:
>>
>> Cannot load (path)/mod_ssl.so into server (path)/mod_ssl.so:
undefined
>> symbol: RSA_Generate_key
>
> It's highly likely this is the same problem described by me long long
ago on
> this forum related to X509_free being undefined. Take a look at
this:
>
> http://www.mail-archive.com/modssl-users [at] modssl.org/msg14344 .html
>
> The short short version is that you should try recompiling apache
with
> --enable-ssl=static .

Thanks, that fixed it.

GTG
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users [at] modssl.org
Automated List Manager majordomo [at] modssl.org
Gordon Ross [ Mi, 08 Februar 2006 11:45 ] [ ID #1178849 ]

Re: undefined symbol: RSA_generate_key

>>> On 07 February 2006 at 22:30:21, in message
<20060207223021.GA27112 [at] redhat.com>, jorton [at] redhat.com wrote:
> Or upgrade to 2.2, which fixes this problem ;)

I had a quick go at that, but got build errors. Anyway, as the
--enable-ssl=static worked for 2.0.55, and I'm not a great fan of .0
releases I'm not too worried right now.

Thanks anyway,

GTG
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users [at] modssl.org
Automated List Manager majordomo [at] modssl.org
Gordon Ross [ Mi, 08 Februar 2006 14:45 ] [ ID #1178850 ]

Re: undefined symbol: RSA_generate_key

------=_Part_1823_20881336.1139407711395
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On 2/8/06, Gordon Ross <G.Ross [at] ccw.gov.uk> wrote:
>
> >>> On 07 February 2006 at 22:30:21, in message
> <20060207223021.GA27112 [at] redhat.com>, jorton [at] redhat.com wrote:
> > Or upgrade to 2.2, which fixes this problem ;)
>
> I had a quick go at that, but got build errors. Anyway, as the
> --enable-ssl=3Dstatic worked for 2.0.55, and I'm not a great fan of .0
> releases I'm not too worried right now.
>

Would you mind sharing with dev [at] httpd.apache.org what those build errors
were? That would be helpful. :)

As for the .0 thing, it's .2.0, which is rather different... but whatever.
;)

------=_Part_1823_20881336.1139407711395
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On 2/8/06, <b class=3D"gmail_sendername">Gordon Ross</b> <<a href=3D"mai=
lto:G.Ross [at] ccw.gov.uk">G.Ross [at] ccw.gov.uk</a>> wrote:<div><span class=3D"=
gmail_quote"></span><blockquote class=3D"gmail_quote" style=3D"border-left:=
1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex=
;">
>>> On 07 February 2006 at 22:30:21, in message<br><<a href=3D"=
mailto:20060207223021.GA27112 [at] redhat.com">20060207223021.GA2 7112 [at] redhat.com=
</a>>, <a href=3D"mailto:jorton [at] redhat.com">jorton [at] redhat.com</a> wrote:
<br>> Or upgrade to 2.2, which fixes this problem ;)<br><br>I had a quic=
k go at that, but got build errors. Anyway, as the<br>--enable-ssl=3Dstatic=
worked for 2.0.55, and I'm not a great fan of .0<br>releases I'm not too w=
orried right now.
<br></blockquote></div><br>Would you mind sharing with <a href=3D"mailto:de=
v [at] httpd.apache.org">dev [at] httpd.apache.org</a> what those build errors were?&=
nbsp; That would be helpful.  :)<br><br>As for the .0 thing, it's .2.0=
, which is rather different... but whatever.  ;)
<br>

------=_Part_1823_20881336.1139407711395--
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users [at] modssl.org
Automated List Manager majordomo [at] modssl.org
Cliff Woolley [ Mi, 08 Februar 2006 15:08 ] [ ID #1178851 ]
Webserver » gmane.comp.apache.mod-ssl.user » undefined symbol: RSA_generate_key

Vorheriges Thema: SSLCACertificateFile crashes Apache
Nächstes Thema: SSLPassPhraseDialog & several certificates