mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] mod_deflate compression module needs LD_FLAGS="-lz" for apr
@ 2015-03-25 14:03 Oliver.Graute
  2015-03-26  9:08 ` [ptxdist] Antwort: " Oliver.Graute
  0 siblings, 1 reply; 2+ messages in thread
From: Oliver.Graute @ 2015-03-25 14:03 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1.1: Type: text/plain, Size: 539 bytes --]


Hello,

i need the mod_deflate.so compression module for my  apache webserver.

But if try to load this module it i get:

apache2 -f /etc/apache2/httpd.conf
Syntax error on line 236 of /etc/apache2/httpd.conf:
Cannot load /usr/share/apache2/modules/mod_deflate.so into
server: /usr/share/apache2/modules/mod_deflate.so: undefined symbol:
inflate

others solved this problem by adding

LDFLAGS="-lz" in apr-1-config file in the apr source tree

what is the right way to add that LDFLAGS setting in ptxdist rule file?

Best Regards

Oliver

[-- Attachment #1.1.2: Type: text/html, Size: 663 bytes --]

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2446 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ptxdist] Antwort: mod_deflate compression module needs LD_FLAGS="-lz" for apr
  2015-03-25 14:03 [ptxdist] mod_deflate compression module needs LD_FLAGS="-lz" for apr Oliver.Graute
@ 2015-03-26  9:08 ` Oliver.Graute
  0 siblings, 0 replies; 2+ messages in thread
From: Oliver.Graute @ 2015-03-26  9:08 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1.1: Type: text/plain, Size: 777 bytes --]



> others solved this problem by adding
>
> LDFLAGS="-lz" in apr-1-config file in the apr source tree
>
> what is the right way to add that LDFLAGS setting in ptxdist rule file?

i simply solved it this way:

APACHE2_CONF_OPT := \
        $(CROSS_AUTOCONF_USR) \
        --includedir=/usr/include/apache2 \
        --enable-so \
+       --enable-deflate=shared \
        --with-apr=$(PTXDIST_SYSROOT_CROSS)/bin/apr-config \
        --with-apr-util=$(PTXDIST_SYSROOT_CROSS)/bin/apu-config \
        --with-ssl=$(PTXDIST_SYSROOT_TARGET)/usr/lib/ssl \
        --enable-ssl=shared \
+       LDFLAGS='-lz'


APR_CONF_TOOL := autoconf
      APR_CONF_OPT := \
    $(CROSS_AUTOCONF_USR) \
    --enable-threads \
+     LDFLAGS='-lz'

Best regards,

Oliver

[-- Attachment #1.1.2: Type: text/html, Size: 3567 bytes --]

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2446 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-26  9:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-25 14:03 [ptxdist] mod_deflate compression module needs LD_FLAGS="-lz" for apr Oliver.Graute
2015-03-26  9:08 ` [ptxdist] Antwort: " Oliver.Graute

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox