php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #378 configure Apache1.3b6 with libphp3.a
Submitted: 1998-05-15 10:54 UTC Modified: 1998-05-16 12:04 UTC
From: leugering at amsterdam dot agw dot bt dot co dot uk Assigned: rasmus (profile)
Status: Closed Package: Installation problem
PHP Version: 3.0 Release Candidate 4 OS: linux 2.0.30
Private report: No CVE-ID: None
 [1998-05-15 10:54 UTC] leugering at amsterdam dot agw dot bt dot co dot uk
When I run :
configure --activate-module=src/modules/php3/libphp3.a
I get :
/usr/i486-unknown-linux-gnulibc1/bin/ld:
cannot open -lmysqlclient: No such file or directory

What's wrong any suggestions ?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-05-16 12:04 UTC] rasmus
This works fine for me with Apache 1.3b6 and MySQL.  You probably did not point PHP at the correct place when you told it where to find your MySQL installation.

On my system I simply use --with-mysql when I configure PHP.  You may need to use --with-mysql=/usr/local/mysql or something similar depending on where your libmysqlclient.a file is located.  If it is in /usr/local/lib/mysql then just use --with-mysql.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Dec 06 09:03:34 2021 UTC