php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2153 undefined symbol: mysql_module_entry when starting Apache
Submitted: 1999-08-25 16:58 UTC Modified: 1999-09-01 12:54 UTC
From: seth at psy dot au dot dk Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Beta 2 OS: Linux 2.2.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: seth at psy dot au dot dk
New email:
PHP Version: OS:

 

 [1999-08-25 16:58 UTC] seth at psy dot au dot dk
1.  Compile with:

export CFLAGS="-fPIC $RPM_OPT_FLAGS"
export LDFLAGS=-s
sh ./configure --with-apxs=/usr/sbin/apxs \
        --prefix=/usr  \
        --with-config-file-path=/etc/httpd \
        --enable-magic-quotes \
        --enable-memory-limit \
        --enable-safe-mode \
        --with-sybase=/opt/sybase \
        --with-mysql=/usr \
        --with-gettext=/usr \
        --enable-track-vars

2.  Try to start Apache 1.3.9

3.  Get:

Cannot load /usr/libexec/apache/libphp4.so into server: /usr/libexec/apache/libphp4.so: undefined symbol: mysql_module_entry

4.  Other facts:

mysql-3.22.23b
php-3.0.12 loads (and can use mysql functions)
It is possible to load php4 if mysql is not compiled in.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-29 11:19 UTC] sas at cvs dot php dot net
A fresh PHP clean should help - you probably had some stale files lying around.
 [1999-09-01 12:54 UTC] seth at psy dot au dot dk
That did help remove this problem.  But now I cannot start Apache 1.3.9 at all!

If I compile WITHOUT --with-mysql then it works fine (as before).

If I try to compile with:  --with-mysql or --with-mysql=/usr

then I get no error messages, but Apache does not start either. )-:


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 04:01:35 2024 UTC