note 19721 deleted from install.linux by betz

From: Date: Thu, 13 Mar 2003 23:46:09 +0000
Subject: note 19721 deleted from install.linux by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-45256@lists.php.net to get a copy of this message
I was getting an error after installing PHP and trying to restart Apache: "Cannot load /usr/local/apache_1.3.12/libexec/libphp4.so into server: undefined symbol: uncompress" Apparently this has something do with compiling with mySQL support and libz.so. The easiest way I found to correct this was to edit the Makefile after configuring. In the section that looks similar to: LTLIBRARY_LDFLAGS = -rpath $(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATS) Add -lz to the beginning, so it looks like: LTLIBRARY_LDFLAGS = -lz -rpath $(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) Then make, make install, and restart apache.

« previous php.notes (#45256) next »