"undefined symbol: compress" during install?

From: Date: Mon, 11 Mar 2002 22:21:24 +0000
Subject: "undefined symbol: compress" during install?
Groups: php.general 
Request: Send a blank email to php-general+get-88101@lists.php.net to get a copy of this message
I just finished doing my re-install of PHP, updated to 4.1.2. Or so I thought... everything went smoothly, I got all the right success messages during the ./configure and make processes, and thought I was ready to go -- but as I confidently started up Apache, I was greeted with this message: [root@media src]# /usr/local/apache/bin/apachectl start Syntax error on line 222 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symbol: uncompress /usr/local/apache/bin/apachectl start: httpd could not be started My setup is Apache 1.3.22, on RedHat Linux 7.2 using the PHP 4.1.2 source tarball. I have logged my entire installation (I was taking notes in case another sysadmin might need to go through this), and appended the commands I used at the end of this email. Any help is gratefully appreciated! Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com [root@media /]# /usr/local/apache/bin/apachectl stop [root@media /]# /usr/local/mysql/bin/mysqladmin -u root -p shutdown [root@media /]# pushd /usr/local/src /usr/local/src /usr/local/src/apache_1.3.22 [root@media src]# ls -lF total 20
drwxr-xr-x    8 1088     1088         4096 Dec 12 17:03 apache_1.3.22/
drwxr-xr-x   13 root     root         4096 Dec 12 14:50 mysql-3.23.46-pc-linux-gnu-i686/
drwxrwxr-x   16 eprice   eprice       4096 Dec 12 16:40 php-4.1.0/
drwxrwxr-x   13 7801     7801         4096 Feb 27 04:18 php-4.1.2/
drwxr-xr-x    2 root     root         4096 Feb 28 16:57 tarballs/
[root@media apache_1.3.22]# cp /usr/local/apache/conf/httpd.conf /home/eprice/httpd.conf
[root@media src]# pushd apache_1.3.22/ /usr/local/src/apache_1.3.22 /usr/local/src [root@media apache_1.3.22]# make clean [root@media apache_1.3.22]# ./configure --prefix=/usr/local/apache Configuring for Apache, Version 1.3.22 ... (other output snipped) ... [root@media apache_1.3.22]# pushd ../php-4.1.2/ /usr/local/src/php-4.1.2 /usr/local/src/apache_1.3.22 /usr/local/src [root@media php-4.1.2]# ./configure \
--with-apache=/usr/local/src/apache_1.3.22/ \ --with-mysql=/usr/local/mysql/ \ --enable-sockets \ --enable-xslt \ --with-xmlrpc creating cache ./config.cache
... (other output snipped) ... +--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE. By continuing this installation |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |
+--------------------------------------------------------------------+ Thank you for using PHP. [root@media php-4.1.2]# make Making all in Zend ... (other output snipped) ... [root@media php-4.1.2]# make install Making install in Zend ... (other output snipped) ... [root@media apache_1.3.22]# ./configure --activate- module=src/modules/php4/libphp4.a --enable-module=so --enable-shared=max Configuring for Apache, Version 1.3.22 ... (other output snipped) ... [root@media apache_1.3.22]# pushd ./src/modules/php4/ /usr/local/src/apache_1.3.22/src/modules/php4 /usr/local/src/apache_1.3.22 /usr/local/src [root@media php4]# make ... (output snipped) ... [root@media php4]# popd /usr/local/src/apache_1.3.22 /usr/local/src [root@media apache_1.3.22]# make ... (output snipped) ... [root@media apache_1.3.22]# make install ... (some output snipped) ... +--------------------------------------------------------+
| You now have successfully built and installed the      |
| Apache 1.3 HTTP server. To verify that Apache actually |
| works correctly you now should first check the         |
| (initially created or preserved) configuration files |
|                                                        |
| /usr/local/apache/conf/httpd.conf
|                                                        |
| and then you should be able to immediately fire up     |
| Apache the first time by running:                      |
|                                                        |
| /usr/local/apache/bin/apachectl start
|                                                        |
| Thanks for using Apache.       The Apache Group        |
|                                http://www.apache.org/  |
+--------------------------------------------------------+ [root@media apache_1.3.22]# popd /usr/local/src [root@media src]# /usr/local/apache/bin/apachectl configtest Syntax error on line 222 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symbol: uncompress

« previous php.general (#88101) next »