php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3058 Problem finding the MYSQL-Lib-Dir
Submitted: 1999-12-28 10:26 UTC Modified: 1999-12-29 12:14 UTC
From: tw at itreff dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.12 OS: Linux 2.2 (SuSE 6.3)
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: tw at itreff dot de
New email:
PHP Version: OS:

 

 [1999-12-28 10:26 UTC] tw at itreff dot de
SuSE puts the mysql-includes in /usr/include/mysql, but the libs are in
/usr/lib. So I've changed the configure-Script to:
[...]
                if test -f /usr/include/mysql/mysql.h; then
                        MYSQL_INCDIR=/usr/include/mysql
                        if test -d /usr/lib/mysql; then
                                MYSQL_LIBDIR=/usr/lib/mysql
                        else
                                MYSQL_LIBDIR=/usr/lib
                        fi

     Balu

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-12-28 10:38 UTC] eschmid at cvs dot php dot net
This is not a bug by PHPs configuration.  SuSe's MySQL installation is buggy. 
Blame them.

-Egon
 [1999-12-29 12:14 UTC] tw at itreff dot de
I know that this is a buggy MYSQL installation from SuSE, but I think it is easy to change
and it helps avoiding problems (I had...).  BTW: The MYSQL_LIBDIR-Configuration of the configure script of PHP4.0b3 does this checking...

     Balu

PS: SuSE got notified...
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jul 01 12:00:01 2026 UTC