Re: [users@httpd] Linking a third party library with httpd during installation

2021-10-20 Thread Shariful Alam
Hi Yann, Thank you very much. That command works! Configuration script runs with no error so far. Much appreciated. Thanks, Shariful On Wed, Oct 20, 2021 at 4:25 PM Yann Ylavic wrote: > On Wed, Oct 20, 2021 at 10:55 PM Shariful Alam wrote: > > > > I do not understand why it shows my C compiler

Re: [users@httpd] Linking a third party library with httpd during installation

2021-10-20 Thread Shariful Alam
Hi Eric, I believe the *config.log* file that the error is referring to is in *httpd-2.4.46*'s root directory. Here is full the config.log, https://pastebin.com/U72JMZqF. On lines 101-105, it shows that my static archive file is missing, 1. configure:5361: checking whether the C compiler works

Re: [users@httpd] Linking a third party library with httpd during installation

2021-10-20 Thread Yann Ylavic
On Wed, Oct 20, 2021 at 10:55 PM Shariful Alam wrote: > > I do not understand why it shows my C compiler is not working? The config.log > https://pastebin.com/U72JMZqF This is because "./configure" will try to run this command to test the compile: gcc -DSSL_EXPERIMENTAL_ENGINE -DSSL_ENGINE -D

Re: [users@httpd] Linking a third party library with httpd during installation

2021-10-20 Thread Eric Covener
> configure: error: in `/home/apache/Downloads/httpd-2.4.46': > configure: error: C compiler cannot create executables > See `config.log' for more details IIUC you can find the compiler error in srclib/apr-util/config.log by scrolling backwards from the end and looking for your gcc. One of the fla

Re: [users@httpd] Linking a third party library with httpd during installation

2021-10-20 Thread Shariful Alam
Thanks, @Eric, @Konstantin for pointing that out that missing quote and extra whitespace. Appreciate it. I'm new to all this linking and these always make me confused. I tried the following, CFLAGS='-DSSL_EXPERIMENTAL_ENGINE -DSSL_ENGINE -DOPENSSL_LOAD_CONF' LDFLAGS='-L./libxxx -Wl,-Bstati

Re: [users@httpd] Linking a third party library with httpd during installation

2021-10-20 Thread Konstantin Kolinko
ср, 20 окт. 2021 г. в 21:59, Shariful Alam : > > Hello, > > I'm trying to install httpd-2.4.46 from the source. Usually, I use the > following command to configure and it works fine, > > ~/Downloads/httpd-2.4.46$ CFLAGS='-DSSL_EXPERIMENTAL_ENGINE > -DSSL_ENGINE -DOPENSSL_LOAD_CONF' LDFLAG

Re: [users@httpd] Linking a third party library with httpd during installation

2021-10-20 Thread Eric Covener
On Wed, Oct 20, 2021 at 2:59 PM Shariful Alam wrote: > > Hello, > > I'm trying to install httpd-2.4.46 from the source. Usually, I use the > following command to configure and it works fine, > > ~/Downloads/httpd-2.4.46$ CFLAGS='-DSSL_EXPERIMENTAL_ENGINE > -DSSL_ENGINE -DOPENSSL_LOAD_CON

[users@httpd] Linking a third party library with httpd during installation

2021-10-20 Thread Shariful Alam
Hello, I'm trying to install httpd-2.4.46 from the source. Usually, I use the following command to configure and it works fine, *~/Downloads/httpd-2.4.46$ *CFLAGS='-DSSL_EXPERIMENTAL_ENGINE -DSSL_ENGINE -DOPENSSL_LOAD_CONF' LDFLAGS=-Wl,-rpath=/opt/openssl/lib ./configure --prefix=/etc/apa