I have tried that, but I still get this when making:

ab.c:(.text+0x66b5): undefined reference to `TLSv1_1_client_method'
ab.c:(.text+0x66dd): undefined reference to `TLSv1_2_client_method'

which tells me it is still using the old system openssl libraries and not the 
location of the new one.

I have tried all of these:
--with-ssl=../openssl-1.1.1t \
            --enable-ssl \
            --enable-speling=shared \
            --enable-rewrite=shared \
        --enable-ssl-staticlib-deps \
        --enable-mods-static=ssl \
        --enable-compat

But when trying to make it is appears to still use the old ssl library on the 
system.

-----Original Message-----
From: Rainer Canavan <rainer.cana...@avenga.com.INVALID> 
Sent: Wednesday, April 12, 2023 12:01 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache static compile

On Wed, Apr 12, 2023 at 1:49 AM Chris me <phunct...@hotmail.com> wrote:
>
> Basically I am trying to run a later version of apache that supports the 
> newer TLS alongside a much older version. I know it is better to upgrade the 
> server, etc. but that is not an option for the legacy server.
>
> I basically need a completely stand alone version of httpd so I don’t have to 
> worry about upgrading the server libs and current openssl version.

set an installation path with
--prefix=/usr/local/completelyseparatehttpd and 
LDFLAGS=-Wl,-rpath,/usr/local/completelyseparatetlslibrary when you configure 
your httpd and you should be done.

rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to