Currently pecl-pdo-sqlite uses a statically linked copy of sqlite. Unfortunately this version does not know how to read sqlite3 databases created by the sqlite3 version in ~x86. Because of this I modified the pecl-pdo-sqlite ebuild to link against the system installed sqlite3 copy.
Created attachment 104802 [details, diff] Patch against pecl-pdo-sqlite-1.0.1.ebuild Makes the ebuild use the system installed copy.
The package also gets the RDEPENDS wrong: betelgeuse@pena /var/cache/edb/dep/usr $ sqlite3 portage.sqlite SQLite version 3.3.6 Enter ".help" for instructions sqlite> select RDEPEND from portage_packages where portage_package_key = "dev-php5/pecl-pdo-sqlite-1.0.1"; =dev-lang/php-5* I put this in my dev overlay: http://overlays.gentoo.org/dev/betelgeuse/browser/dev-php5/pecl-pdo-sqlite/pecl-pdo-sqlite-1.0.1.ebuild
Committed after jakub gave me the ok on #gentoo-web.