Date: Thu, 03 Aug 2006 11:19:25 +0200 From: Frank Altpeter <frank@altpeter.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/101309: unable to build static compiled version of php4-zlib Message-ID: <E1G8ZMT-000F5K-5L@pegasus.dyndns.info> Resent-Message-ID: <200608030920.k739KDJQ062755@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101309 >Category: ports >Synopsis: unable to build static compiled version of php4-zlib >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 03 09:20:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Frank Altpeter >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: System: FreeBSD pegasus.dyndns.info 6.1-STABLE FreeBSD 6.1-STABLE #3: Wed Jul 5 15:16:31 CEST 2006 root@pegasus.dyndns.info:/usr/obj/usr/src/sys/kernconf.pegasus i386 >Description: Hi there, I just hit a little problem with the php4 port archivers/php4-zlib. For a customer, i've set up a machine with apache and php4, which includes php4-zlib (via the metaport php4-extensions). Everything was running fine, until the customer uploaded compressed SWF files (and he stated that he doesn't have any way to get away from them, so uncompressing them is not an option). So, i now get the expected error message: getimagesize(): The image is a compressed SWF file, but you do not have a static version of the zlib extension enabled. While trying to get php4-zlib to get statically linked, i failed so far. I tried to add '--enable-static' and '--disable-shared' to the lang/php4 Makefile but configure still tells me to enable shared linking. Even $search_engine didn't get me any good advise other than "Agree, compiling *all* extensions as shared is stupid, please address to the FreeBSD port maintainer." Could someone provide me with some hint how to get a static version of the zlib extension? Besides that: why does a compressed SWF file require a static version of zlib anyway? >How-To-Repeat: portinstall archivers/php4-zlib put a compressed SWF file into your htdocs and do an getimagesize() on it. >Fix: Provide option to let the user decide between statically linked or dynamically linked version of the php4 extension >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1G8ZMT-000F5K-5L>