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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Thu Mar 28 12:01:27 2024 UTC