php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #308 Small error when linking with MySQL & Apache
Submitted: 1998-04-24 02:26 UTC Modified: 1998-07-30 08:28 UTC
From: a dot vanerven at consultant dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 3.0 Release Candidate 4 OS: SCO OpenServer 5.0.4C
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
18 + 39 = ?
Subscribe to this entry?

 
 [1998-04-24 02:26 UTC] a dot vanerven at consultant dot com
When you'd like to link Apache httpd with PHP-3.0C3-C4,
the Makefile produced by Apache will place the
-lmysqlclient - option AFTER the -lsocket option.
This produces the following error when linking httpd:
"getservbyname" first referenced in modules/php3/modphp3.
You can resolve this by putting -lsocket AFTER
-lmysqlclient. 

Best regards,

Aart

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-30 08:28 UTC] rasmus
This has been fixed in 3.0.2
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 15:01:28 2024 UTC