[php-maint] Bug#668048: Bug#668048: pdo_mysql.so: undefined symbol: php_pdo_register_driver
Ondřej Surý
ondrej at debian.org
Sun Apr 8 17:10:12 UTC 2012
Everything seems to be correct, what are the contents of
/etc/php5/mods-available/pdo.ini ?
O.
On Sun, Apr 8, 2012 at 18:42, agaida at siduction.org <agaida at siduction.org> wrote:
> Hi Ondřej,
>
> # LANG=C ls -l /etc/php5/cli
> total 64
> lrwxrwxrwx 1 root root 9 Apr 6 15:48 conf.d -> ../conf.d
> -rw-r--r-- 1 root root 65472 Apr 8 18:08 php.ini
>
> # LANG=C ls -l /etc/php5/cli/conf.d/
> total 8
> lrwxrwxrwx 1 root root 25 Apr 8 13:31 10-pdo.ini ->
> ../mods-available/pdo.ini
> lrwxrwxrwx 1 root root 26 Apr 8 13:39 20-curl.ini ->
> ../mods-available/curl.ini
> lrwxrwxrwx 1 root root 24 Apr 8 13:40 20-gd.ini ->
> ../mods-available/gd.ini
> lrwxrwxrwx 1 root root 26 Apr 8 13:37 20-intl.ini ->
> ../mods-available/intl.ini
> lrwxrwxrwx 1 root root 28 Apr 8 14:06 20-mcrypt.ini ->
> ../mods-available/mcrypt.ini
> lrwxrwxrwx 1 root root 27 Apr 8 15:19 20-mysql.ini ->
> ../mods-available/mysql.ini
> lrwxrwxrwx 1 root root 28 Apr 8 15:19 20-mysqli.ini ->
> ../mods-available/mysqli.ini
> lrwxrwxrwx 1 root root 31 Apr 8 15:19 20-pdo_mysql.ini ->
> ../mods-available/pdo_mysql.ini
> -rw-r--r-- 1 root root 56 Mar 14 2010 adodb.ini
> -rw-r--r-- 1 root root 161 Mar 4 17:23 apc.ini
>
>
> Am 08.04.2012 18:31, schrieb Ondřej Surý:
>
>> Hi Alf,
>>
>> could you please send the listing of /etc/php5/cli and
>> /etc/php5/cli/conf.d:
>>
>> root at howl:/# ls -l /etc/php5/cli/
>> total 64
>> lrwxrwxrwx 1 root root 9 Mar 21 20:58 conf.d -> ../conf.d
>> -rw-r--r-- 1 root root 65432 Apr 6 13:47 php.ini
>> root at howl:/# ls -l /etc/php5/conf.d
>> total 0
>> lrwxrwxrwx 1 root root 25 Apr 8 16:25 10-pdo.ini ->
>> ../mods-available/pdo.ini
>> lrwxrwxrwx 1 root root 27 Apr 8 16:31 20-mysql.ini ->
>> ../mods-available/mysql.ini
>> lrwxrwxrwx 1 root root 28 Apr 8 16:31 20-mysqli.ini ->
>> ../mods-available/mysqli.ini
>> lrwxrwxrwx 1 root root 31 Apr 8 16:31 20-pdo_mysql.ini ->
>> ../mods-available/pdo_mysql.ini
>>
>> It should looks like this...
>>
>> O.
>>
>> On Sun, Apr 8, 2012 at 17:01, Alf Gaida<agaida at siduction.org> wrote:
>>>
>>> Package: php5-mysql
>>> Version: 5.4.1~rc1-1
>>> Severity: normal
>>>
>>> Dear Maintainer,
>>>
>>> i'm running a cron-job every 5 min:
>>> /usr/bin/php5 -q ../scripts/froxlor_master_cronjob.php
>>>
>>> Result:
>>> PHP Warning: PHP Startup: Unable to load dynamic library
>>> '/usr/lib/php5/20100525/pdo_mysql.so' -
>>> /usr/lib/php5/20100525/pdo_mysql.so:
>>> undefined symbol: php_pdo_register_driver in Unknown on line 0
>>>
>>> ldd /usr/lib/php5/20100525/pdo_mysql.so
>>> linux-vdso.so.1 => (0x00007fff0edff000)
>>> libmysqlclient_r.so.16 => /usr/lib/libmysqlclient_r.so.16
>>> (0x00007fbc320f4000)
>>> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbc31d6d000)
>>> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
>>> (0x00007fbc31b50000)
>>> librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1
>>> (0x00007fbc31948000)
>>> libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1
>>> (0x00007fbc31711000)
>>> libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1
>>> (0x00007fbc314f8000)
>>> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fbc31276000)
>>> libz.so.1 => /usr/lib/x86_64-linux-gnu/libz.so.1
>>> (0x00007fbc31060000)
>>> /lib64/ld-linux-x86-64.so.2 (0x00007fbc32735000)
>>>
>>> it seems to be, that the script work correct, but the message is really
>>> annoing.
>>> I think i just disable the cron job and make it manual, when i need the
>>> script.
>>>
>>>
>>> -- System Information:
>>> Debian Release: wheezy/sid
>>> APT prefers unstable
>>> APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
>>> Architecture: amd64 (x86_64)
>>>
>>> Kernel: Linux 3.3-1.towo.2-siduction-amd64 (SMP w/4 CPU cores; PREEMPT)
>>> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
>>> Shell: /bin/sh linked to /bin/dash
>>>
>>> Versions of packages php5-mysql depends on:
>>> pn dpkg 1.16.2
>>> pn libapache2-mod-php5 [phpapi-20100525] 5.4.1~rc1-1
>>> pn libc6 2.13-27
>>> pn libmysqlclient16<none>
>>> pn php5-cgi [phpapi-20100525] 5.4.1~rc1-1
>>> pn php5-cli [phpapi-20100525] 5.4.1~rc1-1
>>> pn php5-common<none>
>>> pn ucf<none>
>>>
>>> php5-mysql recommends no packages.
>>>
>>> php5-mysql suggests no packages.
>>>
>>> -- no debconf information
>>>
>>>
>>>
>>> _______________________________________________
>>> pkg-php-maint mailing list
>>> pkg-php-maint at lists.alioth.debian.org
>>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
>>
>>
>>
>
--
Ondřej Surý <ondrej at sury.org>
More information about the pkg-php-maint
mailing list