Debian Bug report logs - #668252
/usr/bin/php5: prints out warnings at startup

version graph

Package: php5-cli; Maintainer for php5-cli is (unknown);

Reported by: Uwe Kleine-König <uwe+debianbug@kleine-koenig.org>

Date: Tue, 10 Apr 2012 08:03:02 UTC

Severity: normal

Tags: moreinfo

Fixed in version 5.4.0~rc6-2

Done: Ondřej Surý <ondrej@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#668252; Package php5-cli. (Tue, 10 Apr 2012 08:03:04 GMT) (full text, mbox, link).


Acknowledgement sent to Uwe Kleine-König <uwe+debianbug@kleine-koenig.org>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Tue, 10 Apr 2012 08:03:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Uwe Kleine-König <uwe+debianbug@kleine-koenig.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /usr/bin/php5: prints out warnings at startup
Date: Tue, 10 Apr 2012 09:51:50 +0200
Package: php5-cli
Version: 5.4.0-3
Severity: normal
File: /usr/bin/php5

Hello,

	$ /usr/bin/php5
	PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/pdo_sqlite.so' - /usr/lib/php5/20100525/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
	PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/sqlite.so' - /usr/lib/php5/20100525/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
	PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/sqlite3.so' - /usr/lib/php5/20100525/sqlite3.so: cannot open shared object file: No such file or directory in Unknown on line 0

This is annoying because /etc/cron.d/php5 generates a mail with the
above warnings twice per hour.

Ah, I just found the culprit: php5-sqlite (5.3.3-7+squeeze8) was still
in the removed state and so provided:

	/etc/php5/conf.d/sqlite.ini
	/etc/php5/conf.d/pdo_sqlite.ini
	/etc/php5/conf.d/sqlite3.ini

After purging php5-sqlite the problem seems to be gone.

Thanks
Uwe

-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (900, 'stable-updates'), (900, 'proposed-updates'), (900, 'stable'), (800, 'testing-proposed-updates'), (800, 'testing'), (700, 'unstable'), (600, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5-cli depends on:
ii  libbz2-1.0         1.0.5-6+squeeze1      high-quality block-sorting file co
ii  libc6              2.11.3-3              Embedded GNU C Library: Shared lib
ii  libcomerr2         1.41.12-4stable1      common error description library
ii  libdb5.1           5.1.29-1              Berkeley v5.1 Database Libraries [
ii  libgssapi-krb5-2   1.10+dfsg~beta1-2     MIT Kerberos runtime libraries - k
ii  libk5crypto3       1.10+dfsg~beta1-2     MIT Kerberos runtime libraries - C
ii  libkrb5-3          1.10+dfsg~beta1-2     MIT Kerberos runtime libraries
ii  libmagic1          5.04-5+squeeze1       File type determination library us
ii  libonig2           5.9.1-1               Oniguruma regular expressions libr
ii  libpcre3           1:8.30-4              Perl 5 Compatible Regular Expressi
ii  libqdbm14          1.8.77-4              QDBM Database Libraries [runtime]
ii  libssl1.0.0        1.0.1-4               SSL shared libraries
ii  libxml2            2.7.8.dfsg-2+squeeze3 GNOME XML library
ii  mime-support       3.48-1                MIME files 'mime.types' & 'mailcap
ii  php5-common        5.4.0-3               Common files for packages built fr
ii  tzdata             2011n-0squeeze1       time zone and daylight-saving time
ii  ucf                3.0025+nmu1           Update Configuration File: preserv
ii  zlib1g             1:1.2.3.4.dfsg-3      compression library - runtime

php5-cli recommends no packages.

Versions of packages php5-cli suggests:
ii  php-pear                5.3.3-7+squeeze8 PEAR - PHP Extension and Applicati

-- no debconf information




Reply sent to Ondřej Surý <ondrej@debian.org>:
You have taken responsibility. (Tue, 10 Apr 2012 09:09:31 GMT) (full text, mbox, link).


Notification sent to Uwe Kleine-König <uwe+debianbug@kleine-koenig.org>:
Bug acknowledged by developer. (Tue, 10 Apr 2012 09:09:37 GMT) (full text, mbox, link).


Message #10 received at 668252-done@bugs.debian.org (full text, mbox, reply):

From: Ondřej Surý <ondrej@debian.org>
To: Uwe Kleine-König <uwe+debianbug@kleine-koenig.org>, 668252-done@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: [php-maint] Bug#668252: /usr/bin/php5: prints out warnings at startup
Date: Tue, 10 Apr 2012 11:06:37 +0200
Version: 5.4.0~rc6-2
forcemerge 447826 668252
thank you

This was already fixed in PHP 5.4.0~rc6-2, but unfortunatelly we are
unable to fix that in the packages which are not upgraded (e.g.
already in removed state).

Ondrej

2012/4/10 Uwe Kleine-König <uwe+debianbug@kleine-koenig.org>:
> Package: php5-cli
> Version: 5.4.0-3
> Severity: normal
> File: /usr/bin/php5
>
> Hello,
>
>        $ /usr/bin/php5
>        PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/pdo_sqlite.so' - /usr/lib/php5/20100525/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
>        PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/sqlite.so' - /usr/lib/php5/20100525/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
>        PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/sqlite3.so' - /usr/lib/php5/20100525/sqlite3.so: cannot open shared object file: No such file or directory in Unknown on line 0
>
> This is annoying because /etc/cron.d/php5 generates a mail with the
> above warnings twice per hour.
>
> Ah, I just found the culprit: php5-sqlite (5.3.3-7+squeeze8) was still
> in the removed state and so provided:
>
>        /etc/php5/conf.d/sqlite.ini
>        /etc/php5/conf.d/pdo_sqlite.ini
>        /etc/php5/conf.d/sqlite3.ini
>
> After purging php5-sqlite the problem seems to be gone.
>
> Thanks
> Uwe
>
> -- System Information:
> Debian Release: 6.0.4
>  APT prefers stable-updates
>  APT policy: (900, 'stable-updates'), (900, 'proposed-updates'), (900, 'stable'), (800, 'testing-proposed-updates'), (800, 'testing'), (700, 'unstable'), (600, 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages php5-cli depends on:
> ii  libbz2-1.0         1.0.5-6+squeeze1      high-quality block-sorting file co
> ii  libc6              2.11.3-3              Embedded GNU C Library: Shared lib
> ii  libcomerr2         1.41.12-4stable1      common error description library
> ii  libdb5.1           5.1.29-1              Berkeley v5.1 Database Libraries [
> ii  libgssapi-krb5-2   1.10+dfsg~beta1-2     MIT Kerberos runtime libraries - k
> ii  libk5crypto3       1.10+dfsg~beta1-2     MIT Kerberos runtime libraries - C
> ii  libkrb5-3          1.10+dfsg~beta1-2     MIT Kerberos runtime libraries
> ii  libmagic1          5.04-5+squeeze1       File type determination library us
> ii  libonig2           5.9.1-1               Oniguruma regular expressions libr
> ii  libpcre3           1:8.30-4              Perl 5 Compatible Regular Expressi
> ii  libqdbm14          1.8.77-4              QDBM Database Libraries [runtime]
> ii  libssl1.0.0        1.0.1-4               SSL shared libraries
> ii  libxml2            2.7.8.dfsg-2+squeeze3 GNOME XML library
> ii  mime-support       3.48-1                MIME files 'mime.types' & 'mailcap
> ii  php5-common        5.4.0-3               Common files for packages built fr
> ii  tzdata             2011n-0squeeze1       time zone and daylight-saving time
> ii  ucf                3.0025+nmu1           Update Configuration File: preserv
> ii  zlib1g             1:1.2.3.4.dfsg-3      compression library - runtime
>
> php5-cli recommends no packages.
>
> Versions of packages php5-cli suggests:
> ii  php-pear                5.3.3-7+squeeze8 PEAR - PHP Extension and Applicati
>
> -- no debconf information
>
>
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint



-- 
Ondřej Surý <ondrej@sury.org>




Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#668252; Package php5-cli. (Tue, 10 Apr 2012 09:12:59 GMT) (full text, mbox, link).


Acknowledgement sent to "Thijs Kinkhorst" <thijs@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Tue, 10 Apr 2012 09:13:08 GMT) (full text, mbox, link).


Message #15 received at 668252@bugs.debian.org (full text, mbox, reply):

From: "Thijs Kinkhorst" <thijs@debian.org>
To: "Uwe Kleine-König" <uwe+debianbug@kleine-koenig.org>, 668252@bugs.debian.org
Subject: Re: [php-maint] Bug#668252: /usr/bin/php5: prints out warnings at startup
Date: Tue, 10 Apr 2012 11:11:55 +0200
> 	$ /usr/bin/php5
> 	PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/lib/php5/20100525/pdo_sqlite.so' -
> /usr/lib/php5/20100525/pdo_sqlite.so: cannot open shared object file: No
> such file or directory in Unknown on line 0
> 	PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/lib/php5/20100525/sqlite.so' - /usr/lib/php5/20100525/sqlite.so:
> cannot open shared object file: No such file or directory in Unknown on
> line 0
> 	PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/lib/php5/20100525/sqlite3.so' - /usr/lib/php5/20100525/sqlite3.so:
> cannot open shared object file: No such file or directory in Unknown on
> line 0
>
> This is annoying because /etc/cron.d/php5 generates a mail with the
> above warnings twice per hour.
>
> Ah, I just found the culprit: php5-sqlite (5.3.3-7+squeeze8) was still
> in the removed state and so provided:
>
> 	/etc/php5/conf.d/sqlite.ini
> 	/etc/php5/conf.d/pdo_sqlite.ini
> 	/etc/php5/conf.d/sqlite3.ini
>
> After purging php5-sqlite the problem seems to be gone.

I'm not sure I understand your report. Your analysis shows exactly the
problem, and it's an issue that you can only solve on your local system.
What do you request from us?


Thijs





Added tag(s) moreinfo. Request was from Thijs Kinkhorst <thijs@debian.org> to control@bugs.debian.org. (Tue, 10 Apr 2012 09:13:16 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#668252; Package php5-cli. (Tue, 10 Apr 2012 18:12:16 GMT) (full text, mbox, link).


Acknowledgement sent to Uwe Kleine-König <uwe@kleine-koenig.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Tue, 10 Apr 2012 18:12:16 GMT) (full text, mbox, link).


Message #22 received at 668252@bugs.debian.org (full text, mbox, reply):

From: Uwe Kleine-König <uwe@kleine-koenig.org>
To: Thijs Kinkhorst <thijs@debian.org>
Cc: Uwe Kleine-König <uwe+debianbug@kleine-koenig.org>, 668252@bugs.debian.org
Subject: Re: [php-maint] Bug#668252: /usr/bin/php5: prints out warnings at startup
Date: Tue, 10 Apr 2012 20:04:26 +0200
On Tue, Apr 10, 2012 at 11:11:55AM +0200, Thijs Kinkhorst wrote:
> > 	$ /usr/bin/php5
> > 	PHP Warning:  PHP Startup: Unable to load dynamic library
> > '/usr/lib/php5/20100525/pdo_sqlite.so' -
> > /usr/lib/php5/20100525/pdo_sqlite.so: cannot open shared object file: No
> > such file or directory in Unknown on line 0
> > 	PHP Warning:  PHP Startup: Unable to load dynamic library
> > '/usr/lib/php5/20100525/sqlite.so' - /usr/lib/php5/20100525/sqlite.so:
> > cannot open shared object file: No such file or directory in Unknown on
> > line 0
> > 	PHP Warning:  PHP Startup: Unable to load dynamic library
> > '/usr/lib/php5/20100525/sqlite3.so' - /usr/lib/php5/20100525/sqlite3.so:
> > cannot open shared object file: No such file or directory in Unknown on
> > line 0
> >
> > This is annoying because /etc/cron.d/php5 generates a mail with the
> > above warnings twice per hour.
> >
> > Ah, I just found the culprit: php5-sqlite (5.3.3-7+squeeze8) was still
> > in the removed state and so provided:
> >
> > 	/etc/php5/conf.d/sqlite.ini
> > 	/etc/php5/conf.d/pdo_sqlite.ini
> > 	/etc/php5/conf.d/sqlite3.ini
> >
> > After purging php5-sqlite the problem seems to be gone.
> 
> I'm not sure I understand your report. Your analysis shows exactly the
> problem, and it's an issue that you can only solve on your local system.
> What do you request from us?
You could make it easier for a user to find the problem. You could show
a dialog during upgrade that these files exist and recommend puring the
package?!

Best regards
Uwe




Message #23 received at 668252-done@bugs.debian.org (full text, mbox, reply):

From: Uwe Kleine-König <uwe@kleine-koenig.org>
To: Ondřej Surý <ondrej@debian.org>
Cc: Uwe Kleine-König <uwe+debianbug@kleine-koenig.org>, 668252-done@bugs.debian.org, control@bugs.debian.org
Subject: Re: [php-maint] Bug#668252: /usr/bin/php5: prints out warnings at startup
Date: Tue, 10 Apr 2012 20:22:58 +0200
On Tue, Apr 10, 2012 at 11:06:37AM +0200, Ondřej Surý wrote:
> Version: 5.4.0~rc6-2
> forcemerge 447826 668252
> thank you
> 
> This was already fixed in PHP 5.4.0~rc6-2, but unfortunatelly we are
> unable to fix that in the packages which are not upgraded (e.g.
> already in removed state).
BTW, the path that made this happen to me is that I upgraded roundcube.
roundcube dropped sqlite support, so I switched to roundcube-mysql and
the php-sqlite was automatically removed as roundcube was the only user.

I didn't retry but this might happen to others upgrading from squeeze,
too?

Best regards
Uwe




No longer marked as found in versions php5/5.4.0-3. Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Fri, 26 Oct 2012 11:33:04 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 24 Nov 2012 07:26:20 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 02:07:05 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.