php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14632 missing -lz symbol in Makefile
Submitted: 2001-12-20 15:03 UTC Modified: 2001-12-20 15:33 UTC
From: michaelh at go2net dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.1.0 OS: Linux 2.2.17
Private report: No CVE-ID: None
 [2001-12-20 15:03 UTC] michaelh at go2net dot com
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-20 15:16 UTC] sniper@php.net
--with-zlib

RTFM. RTFBDB.

 [2001-12-20 15:32 UTC] michaelh at go2net dot com
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 in version 3.x
 [2001-12-20 15:33 UTC] michaelh at go2net dot com
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 in version 3.x

Sorry to gripe. =)


Thanks,
Michael Howell
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 15 20:01:35 2024 UTC