debian-bugs-closed  

Bug#405633: marked as done (php5-mysql: apache2.2 fails to start when pdo_mysql is enabled)

Debian Bug Tracking System
Sun, 11 Mar 2007 05:33:48 -0800

Your message dated Sun, 11 Mar 2007 12:23:41 +0100
with message-id <[EMAIL PROTECTED]>
and subject line [php-maint] Bug#405633: php5-mysql: apache2.2 fails to start 
when pdo_mysql is enabled
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: php5-mysql
Version: 5.2.0-8
Severity: important

When /etc/php5/conf.d/pdo_mysql.ini contains "extension=pdo_mysql.so", 
Apache 2.2 fails to start, and reports the following in the error log:

/usr/sbin/apache2: symbol lookup error: 
/usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: 
php_pdo_get_dbh_ce

`strings /usr/lib/php5/20060613+lfs/pdo_mysql.so` shows that 
php_pdo_get_dbh_ce is indeed present in the file.

If I comment out the extension, and Apache 2.2 loads successfully.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-1-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages php5-mysql depends on:
ii  libapache2-mod-php5 [phpapi- 5.2.0-8     server-side, HTML-embedded scripti
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libmysqlclient15off          5.0.30-1    mysql database client library
ii  php5-common                  5.2.0-8     Common files for packages built fr

php5-mysql recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
hi scott,

following up on some neglected bugs here

On Thu, 2007-01-04 at 23:22 -0500, Scott Merrill wrote:
> When /etc/php5/conf.d/pdo_mysql.ini contains "extension=pdo_mysql.so", 
> Apache 2.2 fails to start, and reports the following in the error log:
> 
> /usr/sbin/apache2: symbol lookup error: 
> /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: 
> php_pdo_get_dbh_ce
> 
> `strings /usr/lib/php5/20060613+lfs/pdo_mysql.so` shows that 
> php_pdo_get_dbh_ce is indeed present in the file.

actually, pdo_mysql.so does not contain this symbol's definition, only a
reference to it.  the symbol is defined in pdo.so, which should also be
loaded by default in conf.d/pdo.ini.  

since i can't reproduce this, and believe that this was the problem, i'm
going to close the bug report.  if that's not the case, we can reopen it
and see if we can figure out what's going on.


        sean

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
  • Bug#405633: marked as done (php5-mysql: apache2.2 fails to start when pdo_mysql is enabled) Debian Bug Tracking System