Re: Linking a third party library with httpd during installation

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

 



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
  2. configure:5383: 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 >&5
  3. /usr/bin/ld: cannot find -lxxx
  4. /usr/bin/ld: cannot find -lgcc_s
  5. /usr/bin/ld: cannot find -lgcc_s
  6. collect2: error: ld returned 1 exit status
  7. configure:5387: $? = 1
  8. configure:5425: result: no
  9. configure: failed program was

Any Idea why is that?


On Wed, Oct 20, 2021 at 3:57 PM Eric Covener <covener@xxxxxxxxx> wrote:
> 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 flags you're passing is causing the compiler to blow up
when probing for capabilities.

---------------------------------------------------------------------
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