Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#20502 - [php] module sqlite.so doesn't work (module cannot be loaded)

Attached to Project: Arch Linux
Opened by Mike Massonnet (m8t) - Tuesday, 17 August 2010, 23:44 GMT
Last edited by Pierre Schmitz (Pierre) - Wednesday, 18 August 2010, 11:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The sqlite module doesn't work. It fails to load with the following error:

Unable to load dynamic library '/usr/lib/php/modules/sqlite.so' - /usr/lib/php/modules/sqlite.so: undefined symbol: php_pdo_unregister_driver in Unknown on line 0

This error appears when running php in interactive mode with "php -a". When using sqlite functions it effectively fails to work and prints "undefined function sqlite_[foo]()".

Additional info:
* php-5.3.3-1
* php.ini:
extension=sqlite.so;

sqlite.so is provided by the php package. However it might be interesting to know the extra package php-sqlite for sqlite3 provides the file pdo_sqlite.so, of course it may have nothing to do with sqlite.
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Wednesday, 18 August 2010, 11:26 GMT
Reason for closing:  Not a bug
Comment by Pierre Schmitz (Pierre) - Wednesday, 18 August 2010, 10:33 GMT
Did you enable the pdo.so in php.ini?
Comment by Mike Massonnet (m8t) - Wednesday, 18 August 2010, 10:53 GMT
Works fine once I do! Sorry for the noise.
Comment by Pierre Schmitz (Pierre) - Wednesday, 18 August 2010, 11:25 GMT
Don't worry about it. It's not straight forward.

Loading...