You are not logged in.

#1 2005-12-28 04:45:37

rokclimb15
Member
From: Athens, GA
Registered: 2004-04-02
Posts: 10
Website

PHP 5.1.1 sqlite extension seems to be broken

[root@darkknight brian]# php -v
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/php/pdo_sqlite.so' - libsqlite3.so.0: 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/php/extensions/php/sqlite.so' - /usr/lib/php/extensions/php/sqlite.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP 5.1.1 (cli) (built: Dec  5 2005 11:15:23)
Copyright (c) 1997-2005 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2005 Zend Technologies

Unless there is some dependency I'm missing (nothing found with pacman -Ss), this package looks broken.

Offline

#2 2006-01-26 14:37:40

civ247
Member
Registered: 2005-08-05
Posts: 53

Re: PHP 5.1.1 sqlite extension seems to be broken

I got the same arror after upgrading some time before christmas. I needed php & sqlite again now and tried to fix it - in vain.

I just did a complete reinstall install with php 5.1.1-5 and the problem persists.

Does anyone know how to fix this?

Offline

#3 2006-01-26 15:07:02

rokclimb15
Member
From: Athens, GA
Registered: 2004-04-02
Posts: 10
Website

Re: PHP 5.1.1 sqlite extension seems to be broken

It seems to be filed in flyspray already

http://bugs.archlinux.org/task/3749

Keep an eye on it here until the new package is released, then upgrade.

Offline

#4 2006-01-26 15:54:30

civ247
Member
Registered: 2005-08-05
Posts: 53

Re: PHP 5.1.1 sqlite extension seems to be broken

According to the comments in the bug report the problem went away with php 5.1.2.

Im assuming it just came back with 5.1.5.

A well no point getting worked up about it,

Thanks,
             Civ.

Offline

#5 2006-01-26 15:58:47

rokclimb15
Member
From: Athens, GA
Registered: 2004-04-02
Posts: 10
Website

Re: PHP 5.1.1 sqlite extension seems to be broken

civ247 wrote:

According to the comments in the bug report the problem went away with php 5.1.2.

Im assuming it just came back with 5.1.5.

A well no point getting worked up about it,

Thanks,
             Civ.

5.1.1-5 is different than 5.1.5.  I think what the bug commenter meant was that a build from source of 5.1.2 corrected this bug, but that it is not yet in arch's package repos.  A quick check shows that 5.1.1-5 is current.  I'm sure it will be fixed in the next release.

Offline

#6 2006-01-27 10:48:35

civ247
Member
Registered: 2005-08-05
Posts: 53

Re: PHP 5.1.1 sqlite extension seems to be broken

My bad got confused with the versioning.
Xammp is runnign perfectly.
Cheers!

Offline

#7 2006-04-12 19:41:03

HAL9000
Member
From: PL
Registered: 2005-12-03
Posts: 18

Re: PHP 5.1.1 sqlite extension seems to be broken

Current php:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20050922/pdo_mysql.so' - /usr/lib/php/extensions/no-debug-non-zts-20050922/pdo_mysql.so: undefined symbol: php_pdo_declare_long_constant in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20050922/sqlite.so' - /usr/lib/php/extensions/no-debug-non-zts-20050922/sqlite.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP 5.1.2 (cli) (built: Jan 31 2006 23:57:25)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

Any idea?

Offline

#8 2011-07-06 02:16:04

xangelux
Member
Registered: 2010-05-29
Posts: 73

Re: PHP 5.1.1 sqlite extension seems to be broken

The thing is php is looking for the extensions directory on /usr/lib/php/extensions and there is no such directory, the workaround is to softlink modules to the same path but name it as extensions, then edit your php.ini file to aim to that soft link, restart apache and test it.

Offline

#9 2011-07-06 14:56:10

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: PHP 5.1.1 sqlite extension seems to be broken

This thread is a little over 5 years old. Please do not necrobump.

Closing....


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB