I also have this error, after upgrading to 5.2.0-3. PDO seems to be enabled at least in the CLI build. I recompiled the package with --disable-pdo in all non-apache2 builds and it seems to fix the problem for CLI. Cheers Jan