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
 [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

Pull Requests

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 Dec 26 10:01:29 2024 UTC