php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #996 Can't compile apache with mysql 3.22.13
Submitted: 1998-12-18 12:07 UTC Modified: 1998-12-18 12:18 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: hrauch at scm dot de Assigned:
Status: Closed Package: MySQL related
PHP Version: 3.0.5 OS: Linux 2.0.35
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: hrauch at scm dot de
New email:
PHP Version: OS:

 

 [1998-12-18 12:07 UTC] hrauch at scm dot de
I'm using PHP 3.05 with Apache 1.3.3 and mySQL 3.21.33

Today I wanted to try the new mySQL Version 3.22.13. I can compile mySQL und PHP 3.0.5
without errors. If I try to compile the apache sources, I get an error message:

gcc .. gen_test_char.c
gcc .. -L/usr/local/lib/mysql -lmysqlclient

can't load library 'libmysqlclient.so.5'

If i look for the libray mysqlclient.so.5, I see a link to libmysql...so.5.0.2

Perhaps you can give me a hint. Thanks very much.

Hans

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-12-18 12:18 UTC] rasmus
This has been addressed in the upcoming PHP-3.0.6.  It's not really a PHP problem though.  Since you are on Linux, edit your /etc/ld.so.conf file and add the directory containing the MySQL client library to it and run ldconfig
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jun 03 09:01:26 2025 UTC