On Wed, Oct 20, 2021 at 10:55 PM Shariful Alam <dipto181@xxxxxxxxx> 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 -DOPENSSL_LOAD_CONF -g -O2 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -L./libxxx -Wl,-Bstatic -lxxx -Wl,-rpath=/opt/openssl/lib conftest.c which raises: 1. /usr/bin/ld: cannot find -lxxx 2. /usr/bin/ld: cannot find -lgcc_s 3. /usr/bin/ld: cannot find -lgcc_s You probably can address 1. by using the real lib name. For 2. and 3. I'd suggest: LDFLAGS='-L./libxxx -Wl,-Bstatic -lxxx -Wl,-Bdynamic -Wl,-rpath=/opt/openssl/lib' because only the libs between -Bstatic and -Bdynamic should be linked statically. Though probably the '-Wl,-Bstatic -lxxx -Wl,-Bdynamic' belongs more in LIBS=... Also note that you could use NOTEST_LDFLAGS and NOTEST_LIBS (instead of LDFLAGS and LIBS) for them to apply to the httpd linking only (they won't be added to all the gcc tests run by ./configure). They need to be correct still, otherwise ./configure will pass but not make.. Regards; Yann. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx