Bug #14632: missing -lz symbol in Makefile
| From: | michaelh at go2net dot com | Date: | Thu, 20 Dec 2001 20:03:35 +0000 |
| Subject: | Bug #14632: missing -lz symbol in Makefile | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-74622@lists.php.net to get a copy of this message | ||
From: michaelh@go2net.com
Operating system: Linux 2.2.17
PHP version: 4.1.0
PHP Bug Type: *Compile Issues
Bug description: missing -lz symbol in Makefile
Greetings,
Apache Error:
Cannot load /usr/local/apache/libexec/libphp3.so into server:
/usr/local/apache/libexec/libphp3.so: undefined symbol: uncompress
compiling --with-mysql=/... will result in Apache spitting out an error
when trying to load the php module. This is because the APXS_LDFLAGS is
missing the -lz symbol. This should either be noted in the INSTALL.*
directions or be included.
NOTE: this is in 3.x and 4.x.
FYI, the APXS_LDFLAGS variable should be called LDLIBRARIES.
Sorry to gripe. =)
Thanks,
Michael Howell
--
Edit bug report at: http://bugs.php.net/?id=14632&edit=1