osdir.com


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

[Bug 61963] New: mod_deflate: Links wrong libz.so


https://bz.apache.org/bugzilla/show_bug.cgi?id=61963

            Bug ID: 61963
           Summary: mod_deflate: Links wrong libz.so
           Product: Apache httpd-2
           Version: 2.4.29
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
          Assignee: bugs@xxxxxxxxxxxxxxxx
          Reporter: brnrd@xxxxxxxxxxx
  Target Milestone: ---

Created attachment 35646
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35646&action=edit
config.log

System CentOS 7 x64
zlib 1.2.11 installed in /usr/local
apr 1.6.1 and apr-util 1.6.3 installed in /usr/local

configured with --with-z=/usr/local

> $ ./configure --prefix=/usr/local --with-z=/usr/local --disable-v4-mapped --without-lua --with-ssl=/usr/local --with-mpm=event --with-nghttp2=/usr/local --with
>   -port=80 --with-sslport=443 --with-expat=/usr/local --with-iconv=/usr --enable-http --with-pcre=/usr/local --with-apr=/usr/local/bin/apr-1-config --with-apr-util
>   =/usr/local/bin/apu-1-config --enable-so --enable-mods-shared=all --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/info/ --build=x86_64-unknown-
>   linux-gnu --enable-layout=FreeBSD --disable-access_compat --disable-authn_dbd --disable-authn_dbm --disable-authn_socache --disable-authnz_fcgi --disable-authnz_
>   ldap --disable-authz_dbd --disable-authz_dbm --disable-bucketeer --disable-buffer --disable-case_filter --disable-case_filter_in --disable-cern_meta --disable-cg
>   i --disable-cgid --disable-charset_lite --disable-data --disable-dialup --disable-dumpio --disable-echo --disable-example_hooks --disable-example_ipc --disable-e
>   xt_filter --disable-file_cache --disable-heartbeat --disable-ident --disable-imagemap --disable-ldap --disable-log_debug --disable-log_forensic --disable-logio -
>   -disable-lua --disable-optional_fn_export --disable-optional_fn_import --disable-optional_hook_export --disable-optional_hook_import --disable-proxy_ajp --disabl
>   e-proxy_fdpass --disable-proxy_ftp --disable-proxy_html --disable-proxy_scgi --disable-reflector --disable-request --disable-sed --disable-session --disable-sess
>   ion_cookie --disable-session_crypto --disable-session_dbd --disable-slotmem_plain --disable-socache_dbm --disable-socache_dc --disable-speling --disable-substitu
>   te --disable-suexec --disable-unique_id --disable-userdir --disable-usertrack --disable-version --disable-xml2enc --enable-actions --enable-alias --enable-allowm
>   ethods --enable-asis --enable-authn_anon --enable-authn_core --enable-authn_file --enable-authn_socache --enable-authz_core --enable-authz_groupfile --enable-aut
>   hz_host --enable-authz_owner --enable-authz_user --enable-auth_basic --enable-auth_digest --enable-auth_form --enable-autoindex --enable-cache --enable-cache_dis
>   k --enable-cache_socache --enable-cgid --enable-dav --enable-dav_fs --enable-dav_lock --enable-dbd --enable-deflate --enable-dir --enable-env --enable-expires --
>   enable-filter --enable-headers --enable-heartmonitor --enable-http2 --enable-include --enable-info --enable-lbmethod_bybusyness --enable-lbmethod_byrequests --en
>   able-lbmethod_bytraffic --enable-lbmethod_heartbeat --enable-macro --enable-mime --enable-mime_magic --enable-negotiation --enable-proxy --enable-proxy_balancer
>   --enable-proxy_connect --enable-proxy_express --enable-proxy_fcgi --enable-proxy_hcheck --enable-proxy_http --enable-proxy_http2 --enable-proxy_wstunnel --enable
>   -ratelimit --enable-remoteip --enable-reqtimeout --enable-rewrite --enable-setenvif --enable-slotmem_shm --enable-socache_memcache --enable-socache_shmcb --enabl
>   e-ssl --enable-status --enable-vhost_alias --enable-watchdog

from config.log

> checking whether to enable mod_deflate... checking dependencies^M
>   setting MOD_INCLUDES to "-I/usr/local/include"^M
>   adding "-L/usr/local/lib" to LDFLAGS^M
>   setting ap_zlib_ldflags to "-L/usr/local/lib"^M
>  setting LIBS to "-lz"^M
> checking for zlib library... found^M
>   setting MOD_DEFLATE_LDADD to "-L/usr/local/lib -lz"^M
>   nulling LIBS^M
> checking whether to enable mod_deflate... shared^M

from the build output

> make[3]: Entering directory `/home/build/src/httpd-2.4.29/modules/filters'^M
> Building shared: mod_ratelimit.la mod_reqtimeout.la mod_include.la mod_filter.la mod_deflate.la^M
> /usr/local/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE   -I/usr/local/include  -I. -I/home/build/src/httpd-2.4.29/os/unix -I/home/build/src/httpd-2.4.29/include -I/usr/local/include/apr-1 -I/usr/local/include -I/home/build/src/httpd-2.4.29/modules/aaa -I/home/build/src/httpd-2.4.29/modules/cache -I/home/build/src/httpd-2.4.29/modules/core -I/home/build/src/httpd-2.4.29/modules/database -I/home/build/src/httpd-2.4.29/modules/filters -I/home/build/src/httpd-2.4.29/modules/ldap -I/home/build/src/httpd-2.4.29/modules/loggers -I/home/build/src/httpd-2.4.29/modules/lua -I/home/build/src/httpd-2.4.29/modules/proxy -I/home/build/src/httpd-2.4.29/modules/session -I/home/build/src/httpd-2.4.29/modules/ssl -I/home/build/src/httpd-2.4.29/modules/test -I/home/build/src/httpd-2.4.29/server -I/home/build/src/httpd-2.4.29/modules/arch/unix -I/home/build/src/httpd-2.4.29/modules/dav/main -I/home/build/src/httpd-2.4.29/modules/generators -I/home/build/src/httpd-2.4.29/modules/mappers -prefer-pic -c mod_deflate.c && touch mod_deflate.slo^M
> /usr/local/build-1/libtool --silent --mode=link gcc -std=gnu99  -g -O2 -pthread -o mod_deflate.la -rpath /usr/local/libexec/apache2 -module -avoid-version  mod_deflate.lo -L/usr/local/lib -lz^M
> /usr/local/build-1/libtool --silent --mode=install install mod_deflate.la /home/build/src/httpd-2.4.29/stage/usr/local/libexec/apache2/^M

Resulting shared lib (after executing libtool --finish
/usr/local/libexec/apache2)
> $ ldd /usr/local/libexec/apache2/mod_deflate.so
>        linux-vdso.so.1 =>  (0x00007ffc507fe000)
>        libz.so.1 => /lib64/libz.so.1 (0x00007f4ff161a000)
>        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4ff13fe000)
>        libc.so.6 => /lib64/libc.so.6 (0x00007f4ff103c000)
>        /lib64/ld-linux-x86-64.so.2 (0x00007f4ff1a45000)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx