RE: Apache static compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.canavan@xxxxxxxxxx.INVALID> 
Sent: Wednesday, April 12, 2023 12:01 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Apache static compile

On Wed, Apr 12, 2023 at 1:49 AM Chris me <phunction@xxxxxxxxxxx> 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-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux