Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#11429 closed defect (fixed)

PHP5 PDO SQLite3

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: php5-mod-pdo-sqlite pdo_sqlite.so Cc:

Description

php5-mod-pdo-sqlite doesn't work. Starting php claims "PHP Warning: PHP Startup: Unable to load dynamic library '/opt/usr/lib/php/pdo_sqlite.so' - File not found in Unknown on line 0". Needless to say, file _does_ exist.

Trunk ver r31639 (d-link dir-825 jffs2)

Attachments (0)

Change History (6)

comment:1 follow-up: Changed 6 years ago by ryzhov_al

Can't confirm that. php5-mod-pdo-sqlite works well on Trunk rev r31549, tested with phpSQLiteCMS.

Please, check missing subdependencies:

 $ ldd /opt/usr/lib/php/pdo_sqlite.so

comment:2 in reply to: ↑ 1 Changed 6 years ago by anonymous

Replying to ryzhov_al:

Please, check missing subdependencies:

 $ ldd /opt/usr/lib/php/pdo_sqlite.so

root@OpenWrt:~# ldd /opt/usr/lib/php/pdo_sqlite.so
Segmentation fault

comment:3 Changed 6 years ago by anonymous

ATTITUDE ADJUSTMENT (Bleeding Edge, r31650) on Netgear WNDR3800

root@Router:/# uname -a
Linux Router 3.3.5 #1 Wed May 9 09:38:40 MST 2012 mips GNU/Linux

root@Router:/# opkg update
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/Packages.gz.
Inflating http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/attitude_adjustment.

root@Router:/# opkg install php5-mod-pdo-sqlite php5-cli
Installing php5-mod-pdo-sqlite (5.3.10-3) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/php5-mod-pdo-sqlite_5.3.10-3_ar71xx.ipk.
Installing php5 (5.3.10-3) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/php5_5.3.10-3_ar71xx.ipk.
Installing libpcre (8.11-2) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/libpcre_8.11-2_ar71xx.ipk.
Installing zlib (1.2.5-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/zlib_1.2.5-1_ar71xx.ipk.
Installing libxml2 (2.7.8-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/libxml2_2.7.8-1_ar71xx.ipk.
Installing php5-mod-pdo (5.3.10-3) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/php5-mod-pdo_5.3.10-3_ar71xx.ipk.
Installing libsqlite3 (3070900-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/libsqlite3_3070900-1_ar71xx.ipk.
Installing php5-cli (5.3.10-3) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/php5-cli_5.3.10-3_ar71xx.ipk.
Configuring php5-cli.
Configuring libpcre.
Configuring zlib.
Configuring libxml2.
Configuring php5.
Configuring php5-mod-pdo.
Configuring libsqlite3.
Configuring php5-mod-pdo-sqlite.

root@Router:/# php-cli
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/pdo_sqlite.so' - File not found in Unknown on line 0

comment:4 Changed 6 years ago by sNoZLoMbArDo

ATTITUDE ADJUSTMENT (Bleeding Edge, r31854) on Edimax BR-6104KP

root@OpenWrt:/www# ldd /usr/lib/php/pdo_sqlite.so
Segmentation fault

root@OpenWrt:/www# php-cli
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/pdo_sqlite.so' - File not found in Unknown on line 0

Check all loaded modules...
Array ( [0] => Core [1] => date [2] => ereg [3] => libxml [4] => pcre [5] => zlib [6] => posix [7] => Reflection [8] => SPL [9] => standard [10] => cgi-fcgi [11] => PDO [12] => SQLite [13] => sqlite3 )

comment:5 Changed 6 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

missing dependency added in r32345

comment:6 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.