php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15698 undefined function compress/uncompress in PHP4.1.1
Submitted: 2002-02-24 13:43 UTC Modified: 2002-02-24 14:26 UTC
From: mirakrishna at yahoo dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.1.1 OS: RedHat 7.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mirakrishna at yahoo dot com
New email:
PHP Version: OS:

 

 [2002-02-24 13:43 UTC] mirakrishna at yahoo dot com
I am trying to compile Apache_1.3.22 with statically linking php 4.1.1. It compiles most of it but throws this error. I do not get any errors when compiling php.4.1.1.
I would appreciate if you can help. Here is the error:
Thanks, Krishna.
=========================================
my_compress.o(.text+0x9a): undefined reference to `uncompress'
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_compress_alloc':
my_compress.o(.text+0x12a): undefined reference to `compress'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/home/krishna/downloads/apache_1.3.22/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/krishna/downloads/apache_1.3.22'
make: *** [build] Error 2
========================================================
Here is my apache configure line:
./configure \
--activate-module=src/modules/perl/libperl.a \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=rewrite

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-24 14:26 UTC] derick@php.net
add --with-zlib to your configure line, AFAIK, this is a problem with the RPMS from RedHat.

Derick
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Dec 07 12:00:02 2025 UTC