Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2006 14:34:13 +0200
From:      Frank Altpeter <frank@altpeter.de>
To:        freebsd-questions@freebsd.org
Subject:   static compilation of php4-zlib
Message-ID:  <20060801123412.GM1069@corpex.de>

next in thread | raw e-mail | index | archive | help
[please include me in replies since i'm not (yet) subscribed]

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


Tìoraidh an-dràsda,

	Frank Altpeter

-- 
*** FA-RIPE *** http://blog.foxalpha.de/ *** SIG at 11 ***




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060801123412.GM1069>