Compiling Apache 2.4 on Fedora 32

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

 



Hi, I am trying to compile apache from source on Fedora 32. I am running into an unusual issue. I don't know what library this is referring to. I'm trying to compile it with as many built in packages as possible. I have APR 1.7.0 and APR-Util 1.6.1 included with the source I downloaded. I am compiling 2.4.46.

I am using the following ./configure command
./configure --prefix=/opt/httpd/httpd-server --enable-mpm-shared="all" --with-mpm=worker --enable-mods-shared="all" --with-included-apr --with-included-apr-util --enable-ssl --enable-ssl-staticlib-deps --enable-mods-static=ssl

when running make I get the following error:
/opt/httpd/bits/httpd-2.4.46/srclib/apr/libtool --silent --mode=compile gcc   -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE   \
      -I. -I/opt/httpd/bits/httpd-2.4.46/os/unix -I/opt/httpd/bits/httpd-2.4.46/include -I/opt/httpd/bits/httpd-2.4.46/srclib/apr/include -I/opt/httpd/bits/httpd-2.4.46/srclib/apr-util/include -I/opt/httpd/bits/httpd-2.4.46/modules/aaa -I/opt/httpd/bits/httpd-2.4.46/modules/cache -I/opt/httpd/bits/httpd-2.4.46/modules/core -I/opt/httpd/bits/httpd-2.4.46/modules/database -I/opt/httpd/bits/httpd-2.4.46/modules/filters -I/opt/httpd/bits/httpd-2.4.46/modules/ldap -I/opt/httpd/bits/httpd-2.4.46/server -I/opt/httpd/bits/httpd-2.4.46/modules/loggers -I/opt/httpd/bits/httpd-2.4.46/modules/lua -I/opt/httpd/bits/httpd-2.4.46/modules/proxy -I/opt/httpd/bits/httpd-2.4.46/modules/http2 -I/opt/httpd/bits/httpd-2.4.46/modules/session -I/opt/httpd/bits/httpd-2.4.46/modules/ssl -I/opt/httpd/bits/httpd-2.4.46/modules/test -I/opt/httpd/bits/httpd-2.4.46/server -I/opt/httpd/bits/httpd-2.4.46/modules/md -I/opt/httpd/bits/httpd-2.4.46/modules/arch/unix -I/opt/httpd/bits/httpd-2.4.46/modules/dav/main -I/opt/httpd/bits/httpd-2.4.46/modules/generators -I/opt/httpd/bits/httpd-2.4.46/modules/mappers  -prefer-non-pic -static -c ab.c && touch ab.lo
/opt/httpd/bits/httpd-2.4.46/srclib/apr/libtool --silent --mode=link gcc  -g -O2 -pthread    \
         -o ab  ab.lo       /opt/httpd/bits/httpd-2.4.46/srclib/apr-util/libaprutil-1.la -lexpat /opt/httpd/bits/httpd-2.4.46/srclib/apr/libapr-1.la -lrt -lcrypt -lpthread -ldl -lm -pthread -pthread -lssl -lz -ldl -lcrypto -lrt -lcrypt -lpthread
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:73: ab] Error 1
make[2]: Leaving directory '/opt/httpd/bits/httpd-2.4.46/support'
make[1]: *** [/opt/httpd/bits/httpd-2.4.46/build/rules.mk:75: all-recursive] Error 1
make[1]: Leaving directory '/opt/httpd/bits/httpd-2.4.46/support'
make: *** [/opt/httpd/bits/httpd-2.4.46/build/rules.mk:75: all-recursive] Error 1

I don't know what this z package is or why it can't find it.


--

[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