php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1238 mysql lib files not found
Submitted: 1999-03-16 03:05 UTC Modified: 1999-03-16 03:19 UTC
From: robh at ts dot mv dot net Assigned:
Status: Closed Package: Installation problem
PHP Version: 3.0.7 OS: BSDi BSD/OS 4.0.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: robh at ts dot mv dot net
New email:
PHP Version: OS:

 

 [1999-03-16 03:05 UTC] robh at ts dot mv dot net
# [...]

./configure --with-mysql=../mysql-3.22.19b --with-apache=../apache_1.3.4 --enable-track-vars
make
make install
cd ../apache_1.3.4
./configure --prefix=/www --activate-module=src/modules/php3/libphp3.a

# results in...

 + adding selected modules
    o php3_module uses ConfigStart/End
ld: cannot open -lmysqlclient: No such file or directory

# I was able to correct for this by adjusting the
# src/modules/php3/libphp3.module file and replace the
# references to "../mysql-3.22.19b/lib" with
# "mysql-3.22.19b/client/.libs".  My guess is that
# the new src dist of mysql changed the location of
# the lib files.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-03-16 03:19 UTC] rasmus
If you install MySQL normally just use --with-mysql
And if you don't and need to specify a path, you have to use an absolute path and not a relative path like you did.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 04:01:28 2024 UTC