php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7356 ext/mysql/php_mysql.c compiles into .o which does not define mysql_module_entry
Submitted: 2000-10-19 19:02 UTC Modified: 2000-11-04 01:07 UTC
From: jl at carnegietech dot org Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.3pl1 OS: Linux (RH 6.2)
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jl at carnegietech dot org
New email:
PHP Version: OS:

 

 [2000-10-19 19:02 UTC] jl at carnegietech dot org
When compiling --with-mysql=/usr (mysql installed
from powertools RPMs into /usr/*) final libphp4.so
fails to load into Apache because mysql_module_entry
is not defined (neither is it defined in php_mysql.o
as far as I can tell).  

Compiling php_mysql.c with -E shows that mysql_module_entry
ends up defined as an extern even though it is clearly
declared and initialized otherwise in the source file.

 I haven't chased this one any further yet.

Thank you

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-30 20:21 UTC] sniper@php.net
Have you tried to compile mysql from sources yourself ?
There have been lot of problems when binary RPMs are used.

--Jani
 [2000-11-03 19:21 UTC] sniper@php.net
User feedback:
-----------
Thank you. Will try. Should have tried already!

------------

So, is it working now?

--Jani
 [2000-11-04 01:07 UTC] sniper@php.net
User  feedback:
------------
 It is working, but I did not compile mysql.   I downloaded everything (apache, perl_mod, php) afresh, cleaned  the directories, and restarted from scratch.  Then, I did not get the error.   It's a curious thing, but I don't
think I want to ask about the past.  Thanks for your help, even if I remain ignorant of the causes for the problem.

----

Closed.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Jun 27 18:00:01 2026 UTC