php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8307 Compile error when linking with MySQL 3.23.29
Submitted: 2000-12-17 22:23 UTC Modified: 2000-12-18 05:51 UTC
From: patrickl at steltor dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.3pl1 OS: Mandrake 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: patrickl at steltor dot com
New email:
PHP Version: OS:

 

 [2000-12-17 22:23 UTC] patrickl at steltor dot com
I try to compil PHP 4.0.3pl1 and i have problem 
this a description of My config :

Os : Linux Mandrake 7.2
apache : 1.3.14
Mysql : 3.23.29
Php : 4.0.3pl1
ZendOptimizer
OpnSSL :  0.9.6
mod_ssl : 2.7.1-1.3.14
mod_auth_mysql : 2.20

my config line for php :
./configure --with-mysql --with-apache=../apache_1.3.14
            --enable-track-vars  --enable-ftp --enable-trans-sid
            --disable-debug --enable-safe-mode
            

my config line for apache :
./configure --activate-module=src/modules/php4/libphp4.a
	--activate-module=src/modules/auth_mysql/libauth_mysql.a
	--server-uid=httpd --server-gid=httpd
	

i have absolutely no errors in the compil phase of Php
but in the Apache phase i have this :

/usr/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_uncompress':
my_compress.o(.text+0x97): undefined reference to `uncompress'
/usr/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_compress_alloc':
my_compress.o(.text+0x12b): undefined reference to `compress'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Erreur 1
make[1]: *** [build-std] Erreur 2
make: *** [build] Erreur 2

ANy help

thanks

patrick

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-18 05:51 UTC] sniper@php.net
Change --with-mysql to point to the install path of Mysql and
add --with-zlib to the configure line also.

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Jun 28 12:00:02 2026 UTC