Debian Bug report logs - #668744
php5-sqlite: PHP Startup: Unable to load dynamic library sqlite.so

version graph

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

Reported by: Frank Lin PIAT <fpiat@klabs.be>

Date: Sat, 14 Apr 2012 08:15:21 UTC

Severity: normal

Found in version php5/5.4.0-3

Done: Frank Lin PIAT <fpiat@klabs.be>

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#668744; Package php5-sqlite. (Sat, 14 Apr 2012 08:15:24 GMT) (full text, mbox, link).


Acknowledgement sent to Frank Lin PIAT <fpiat@klabs.be>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Sat, 14 Apr 2012 08:15:25 GMT) (full text, mbox, link).


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

From: Frank Lin PIAT <fpiat@klabs.be>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: php5-sqlite: PHP Startup: Unable to load dynamic library sqlite.so
Date: Sat, 14 Apr 2012 10:19:49 +0200
Package: php5-sqlite
Version: 5.4.0-3
Severity: normal


Hello dear maintainers,

After upgrading to wheezy, PHP will produce error like this (in web
server's log, in mail from Cron Daemon...), if php5-sqlite is/was 
installed (in squeeze).

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

$ cat /etc/php5/conf.d/sqlite.ini
> ; configuration for php SQLite module
> extension=sqlite.so

$ dpkg -L php5-sqlite | grep -F ".so"
> /usr/lib/php5/20100525+lfs/pdo_sqlite.so
> /usr/lib/php5/20100525+lfs/sqlite3.so

.... the package should purge or update it's former configuration file.

Regars,

Franklin


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (101, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
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-sqlite depends on:
ii  dpkg                                       1.16.2
ii  libapache2-mod-php5 [phpapi-20100525+lfs]  5.4.0-3
ii  libc6                                      2.13-27
ii  libsqlite3-0                               3.7.11-2
ii  php5-cgi [phpapi-20100525+lfs]             5.4.0-3
ii  php5-cli [phpapi-20100525+lfs]             5.4.0-3
ii  php5-common                                5.4.0-3
ii  ucf                                        3.0025+nmu2

php5-sqlite recommends no packages.

php5-sqlite suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#668744; Package php5-sqlite. (Sat, 14 Apr 2012 09:09:23 GMT) (full text, mbox, link).


Acknowledgement sent to Ondřej Surý <ondrej@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Sat, 14 Apr 2012 09:09:30 GMT) (full text, mbox, link).


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

From: Ondřej Surý <ondrej@debian.org>
To: Frank Lin PIAT <fpiat@klabs.be>, 668744@bugs.debian.org
Subject: Re: [php-maint] Bug#668744: php5-sqlite: PHP Startup: Unable to load dynamic library sqlite.so
Date: Sat, 14 Apr 2012 11:03:35 +0200
Hi Frank,

it _does_ purge the old configuration file from 5.3.9-2. (And I have
just verified that in the clean squeeze->wheezy upgrade inside
chrooted pbuilder.)

Are you sure that your sqlite.ini was unmodified or you haven't chosen
to keep it when dpkg asked you to replace it?

Ondrej

On Sat, Apr 14, 2012 at 10:19, Frank Lin PIAT <fpiat@klabs.be> wrote:
> Package: php5-sqlite
> Version: 5.4.0-3
> Severity: normal
>
>
> Hello dear maintainers,
>
> After upgrading to wheezy, PHP will produce error like this (in web
> server's log, in mail from Cron Daemon...), if php5-sqlite is/was
> installed (in squeeze).
>
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/usr/lib/php5/20100525+lfs/sqlite.so' -
>> /usr/lib/php5/20100525+lfs/sqlite.so: cannot open shared object file:
>> No such file or directory in Unknown on line 0
>
> $ cat /etc/php5/conf.d/sqlite.ini
>> ; configuration for php SQLite module
>> extension=sqlite.so
>
> $ dpkg -L php5-sqlite | grep -F ".so"
>> /usr/lib/php5/20100525+lfs/pdo_sqlite.so
>> /usr/lib/php5/20100525+lfs/sqlite3.so
>
> .... the package should purge or update it's former configuration file.
>
> Regars,
>
> Franklin
>
>
> -- System Information:
> Debian Release: wheezy/sid
>  APT prefers testing
>  APT policy: (500, 'testing'), (101, 'unstable')
> Architecture: i386 (i686)
>
> Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
> 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-sqlite depends on:
> ii  dpkg                                       1.16.2
> ii  libapache2-mod-php5 [phpapi-20100525+lfs]  5.4.0-3
> ii  libc6                                      2.13-27
> ii  libsqlite3-0                               3.7.11-2
> ii  php5-cgi [phpapi-20100525+lfs]             5.4.0-3
> ii  php5-cli [phpapi-20100525+lfs]             5.4.0-3
> ii  php5-common                                5.4.0-3
> ii  ucf                                        3.0025+nmu2
>
> php5-sqlite recommends no packages.
>
> php5-sqlite suggests no packages.
>
> -- 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>




Reply sent to Frank Lin PIAT <fpiat@klabs.be>:
You have taken responsibility. (Mon, 16 Apr 2012 21:42:29 GMT) (full text, mbox, link).


Notification sent to Frank Lin PIAT <fpiat@klabs.be>:
Bug acknowledged by developer. (Mon, 16 Apr 2012 21:42:30 GMT) (full text, mbox, link).


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

From: Frank Lin PIAT <fpiat@klabs.be>
To: Ondřej Surý <ondrej@debian.org>
Cc: 668744-done@bugs.debian.org
Subject: Bug#668744: php5-sqlite: PHP Startup: Unable to load dynamic library sqlite.so
Date: Mon, 16 Apr 2012 23:47:38 +0200
Hi,

On Sat, 2012-04-14 at 11:03 +0200, Ondřej Surý wrote:
> On Sat, Apr 14, 2012 at 10:19, Frank Lin PIAT <fpiat@klabs.be> wrote:
> >
> > After upgrading to wheezy, PHP will produce error like this (in web
> > server's log, in mail from Cron Daemon...), if php5-sqlite is/was
> > installed (in squeeze).
> >
> >> PHP Warning:  PHP Startup: Unable to load dynamic library
> >> '/usr/lib/php5/20100525+lfs/sqlite.so' -
> >> /usr/lib/php5/20100525+lfs/sqlite.so: cannot open shared object file:
> >> No such file or directory in Unknown on line 0
> 
> it _does_ purge the old configuration file from 5.3.9-2. (And I have
> just verified that in the clean squeeze->wheezy upgrade inside
> chrooted pbuilder.)


I didn't upgrade directly ...

Sat, Feb 11 2012 08:59:27 +0100
[UPGRADE] php5-sqlite 5.3.9-1 -> 5.3.10-1
--
Mon, Jan 23 2012 21:32:52 +0100
[UPGRADE] php5-sqlite 5.3.8.0-1+b1 -> 5.3.9-1


> Are you sure that your sqlite.ini was unmodified or you haven't chosen
> to keep it when dpkg asked you to replace it?

This is possible... I can't tell.


So I'm closing this bug,

Regards,

Franklin





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 15 May 2012 07:38:58 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:08:00 2023; Machine Name: bembo

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.