Re: Error building Apache+PHP 4.0.2 with MySQL 3.23.25
| From: | Issac Goldstand | Date: | Thu, 05 Oct 2000 19:35:20 +0000 |
| Subject: | Re: Error building Apache+PHP 4.0.2 with MySQL 3.23.25 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-153@lists.php.net to get a copy of this message | ||
I added -lz to the src/Makefile in apache's source tree (to the beginning
of the LIBS1= parameter/line in the file), and the build worked
perfectly. I'm really not sure why one of the programs didn't add it to
the Makefile (via passed parameters or whatever) itself, but I am cc-ing
this message to apache and PHP in the hopes that whichever program should
be responsible for adding the -lz parameter ca attempt to do so in future
versions.
Thanks for your help.
Sincerely,
Issac Goldstand
On Wed, 4 Oct 2000, Thimble Smith wrote:
> On Wed, Oct 04, 2000 at 11:47:27PM +0300, Issac Goldstand wrote:
> > I tried installing an Apache web server (1.3.12 + mod-ssl 2.6.6) with
> > PHP 4.0.2 that was compiled to use MySQL
> > (mysql-3.23.25-beta-pc-linux-gnu-i686) Everything compiled just nicely
> > right up to linking the httpd binary, which produced an error claiming
> > it can't find two functions (compress and un_compress) in MySQL. Since
> > I really don't know the internals of MySQL, I thought I'd submit it to
> > the MySQL bugs list (since it appears to be a MySQL bug more than
> > anything else). Attached (in apache.error) is the full output of the
> > make command on apache (after apache compiled all .o and .a files)
>
> You need to add -lz (and maybe -L/path/to/lib/dir before it) to
> the link line. I'm not sure how to get Apache to do that - there
> might be a configure flag for passing extra libraries.
>
> Tim
>