#35778 [Bgs]: PHP 5.1.1
ID: 35778 User updated by: popefelix at gmail dot com Reported By: popefelix at gmail dot com Status: Bogus Bug Type: PDO related Operating System: SuSE Linux 9.3 PHP Version: 5.1.1 New Comment: No, not really. I'm not passing *any* configure option regarding sqlite, nor does the manual (http://us2.php.net/pdo) mention sqlite in its suggested options to ./configure. I don't *want* to use sqlite, so why should I have to even mention it? Previous Comments: [2005-12-23 12:22:08] [EMAIL PROTECTED] The error message is quite informative, isn't it? [2005-12-22 22:50:22] popefelix at gmail dot com configure error was with 200512221930 CVS snap [2005-12-22 22:49:36] popefelix at gmail dot com configure: error: You've configured extension pdo_sqlite to build statically, but it depends on extension pdo, which you've configured to build shared. You either need to build pdo_sqlite shared or build pdo statically for the build to be successful. [2005-12-22 22:11:36] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip ---- [2005-12-22 22:11:02] popefelix at gmail dot com Description: When attempting to compile PHP 5.1.1 with "--enable-pdo=shared" passed to ./configure, make fails with undefined references in ext/pdo_sqlite/pdo_sqlite.c. While I realize that this is a duplicate of bug 34939, this error is in PHP 5.1.1, which postdates the closure of that bug. Reproduce code: --- './configure' '--enable-soap' '--with-apxs2' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--prefix=/usr/local/php' '--with-xml' '--with-zlib' '--with-openssl' '--enable-calendar' '--with-jpeg-dir=/usr/lib' '--with-gd' '--with-xsl' '--enable-mbstring' --enable-pdo=shared --enable-fileinfo=shared Expected result: PHP should compile. Actual result: -- ext/pdo_sqlite/.libs/pdo_sqlite.o(.text+0x5c): In function `zm_shutdown_pdo_sqlite': /usr/src/php-5.1.1/ext/pdo_sqlite/pdo_sqlite.c:87: undefined reference to `php_pdo_unregister_driver' ext/pdo_sqlite/.libs/pdo_sqlite.o(.text+0x7c): In function `zm_startup_pdo_sqlite': /usr/src/php-5.1.1/ext/pdo_sqlite/pdo_sqlite.c:80: undefined reference to `php_pdo_register_driver' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0x19c): In function `zif_SQLite_sqliteCreateAggregate': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_driver.c:543: undefined reference to `pdo_raise_impl_error' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0x394): In function `zif_SQLite_sqliteCreateFunction': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_driver.c:471: undefined reference to `pdo_raise_impl_error' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0xb2a): In function `pdo_sqlite_last_insert_id': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_driver.c:197: undefined reference to `php_pdo_int64_to_str' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0xddc): In function `_pdo_sqlite_error': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_driver.c:78: undefined reference to `php_pdo_get_exception' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0x101d): In function `pdo_sqlite_handle_factory': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_driver.c:697: undefined reference to `php_pdo_get_exception' ext/pdo_sqlite/.libs/sqlite_statement.o(.text+0x365): In function `pdo_sqlite_stmt_param_hook': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_statement.c:116: undefined reference to `pdo_raise_impl_error' ext/sqlite/.libs/sqlite.o(.text+0x4a67): In function `zm_shutdown_sqlite': /usr/src/php-5.1.1/ext/sqlite/sqlite.c:1113: undefined reference to `php_pdo_unregister_driver' ext/sqlite/.libs/sqlite.o(.text+0x5298): In function `zm_startup_sqlite': /usr/src/php-5.1.1/ext/sqlite/sqlite.c:1100: undefined reference to `php_pdo_register_driver' ext/sqlite/.libs/pdo_sqlite2.o(.text+0x1af): In function `pdo_sqlite2_last_insert_id': /usr/src/php-5.1.1/ext/sqlite/pdo_sqlite2.c:373: undefined reference to `php_pdo_int64_to_str' ext/sqlite/.libs/pdo_sqlite2.o(.text+0x544): In function `_pdo_sqlite2_error': /usr/src/php-5.1.1/ext/sqlite/pdo_sqlite2.c:291: undefined reference to `php_pdo_get_exception' ext/sqlite/.libs/pdo_sqlite2.o(.text+0xb60): In function `pdo_sqlite2_handle_factory': /usr/src/php-5.1.1/ext/sqlite/pdo_sqlite2.c:579: undefined reference to `php_pdo_get_exception' -- Edit this bug report at http://bugs.php.net/?id=35778&edit=1
#35778 [Opn]: PHP 5.1.1
ID: 35778 User updated by: popefelix at gmail dot com Reported By: popefelix at gmail dot com Status: Open Bug Type: PDO related Operating System: SuSE Linux 9.3 PHP Version: 5.1.1 New Comment: configure error was with 200512221930 CVS snap Previous Comments: [2005-12-22 22:49:36] popefelix at gmail dot com configure: error: You've configured extension pdo_sqlite to build statically, but it depends on extension pdo, which you've configured to build shared. You either need to build pdo_sqlite shared or build pdo statically for the build to be successful. [2005-12-22 22:11:36] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip [2005-12-22 22:11:02] popefelix at gmail dot com Description: When attempting to compile PHP 5.1.1 with "--enable-pdo=shared" passed to ./configure, make fails with undefined references in ext/pdo_sqlite/pdo_sqlite.c. While I realize that this is a duplicate of bug 34939, this error is in PHP 5.1.1, which postdates the closure of that bug. Reproduce code: --- './configure' '--enable-soap' '--with-apxs2' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--prefix=/usr/local/php' '--with-xml' '--with-zlib' '--with-openssl' '--enable-calendar' '--with-jpeg-dir=/usr/lib' '--with-gd' '--with-xsl' '--enable-mbstring' --enable-pdo=shared --enable-fileinfo=shared Expected result: PHP should compile. Actual result: -- ext/pdo_sqlite/.libs/pdo_sqlite.o(.text+0x5c): In function `zm_shutdown_pdo_sqlite': /usr/src/php-5.1.1/ext/pdo_sqlite/pdo_sqlite.c:87: undefined reference to `php_pdo_unregister_driver' ext/pdo_sqlite/.libs/pdo_sqlite.o(.text+0x7c): In function `zm_startup_pdo_sqlite': /usr/src/php-5.1.1/ext/pdo_sqlite/pdo_sqlite.c:80: undefined reference to `php_pdo_register_driver' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0x19c): In function `zif_SQLite_sqliteCreateAggregate': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_driver.c:543: undefined reference to `pdo_raise_impl_error' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0x394): In function `zif_SQLite_sqliteCreateFunction': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_driver.c:471: undefined reference to `pdo_raise_impl_error' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0xb2a): In function `pdo_sqlite_last_insert_id': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_driver.c:197: undefined reference to `php_pdo_int64_to_str' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0xddc): In function `_pdo_sqlite_error': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_driver.c:78: undefined reference to `php_pdo_get_exception' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0x101d): In function `pdo_sqlite_handle_factory': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_driver.c:697: undefined reference to `php_pdo_get_exception' ext/pdo_sqlite/.libs/sqlite_statement.o(.text+0x365): In function `pdo_sqlite_stmt_param_hook': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_statement.c:116: undefined reference to `pdo_raise_impl_error' ext/sqlite/.libs/sqlite.o(.text+0x4a67): In function `zm_shutdown_sqlite': /usr/src/php-5.1.1/ext/sqlite/sqlite.c:1113: undefined reference to `php_pdo_unregister_driver' ext/sqlite/.libs/sqlite.o(.text+0x5298): In function `zm_startup_sqlite': /usr/src/php-5.1.1/ext/sqlite/sqlite.c:1100: undefined reference to `php_pdo_register_driver' ext/sqlite/.libs/pdo_sqlite2.o(.text+0x1af): In function `pdo_sqlite2_last_insert_id': /usr/src/php-5.1.1/ext/sqlite/pdo_sqlite2.c:373: undefined reference to `php_pdo_int64_to_str' ext/sqlite/.libs/pdo_sqlite2.o(.text+0x544): In function `_pdo_sqlite2_error': /usr/src/php-5.1.1/ext/sqlite/pdo_sqlite2.c:291: undefined reference to `php_pdo_get_exception' ext/sqlite/.libs/pdo_sqlite2.o(.text+0xb60): In function `pdo_sqlite2_handle_factory': /usr/src/php-5.1.1/ext/sqlite/pdo_sqlite2.c:579: undefined reference to `php_pdo_get_exception' -- Edit this bug report at http://bugs.php.net/?id=35778&edit=1
#35778 [Fbk->Opn]: PHP 5.1.1
ID: 35778 User updated by: popefelix at gmail dot com Reported By: popefelix at gmail dot com -Status: Feedback +Status: Open Bug Type: PDO related Operating System: SuSE Linux 9.3 PHP Version: 5.1.1 New Comment: configure: error: You've configured extension pdo_sqlite to build statically, but it depends on extension pdo, which you've configured to build shared. You either need to build pdo_sqlite shared or build pdo statically for the build to be successful. Previous Comments: [2005-12-22 22:11:36] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip [2005-12-22 22:11:02] popefelix at gmail dot com Description: When attempting to compile PHP 5.1.1 with "--enable-pdo=shared" passed to ./configure, make fails with undefined references in ext/pdo_sqlite/pdo_sqlite.c. While I realize that this is a duplicate of bug 34939, this error is in PHP 5.1.1, which postdates the closure of that bug. Reproduce code: --- './configure' '--enable-soap' '--with-apxs2' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--prefix=/usr/local/php' '--with-xml' '--with-zlib' '--with-openssl' '--enable-calendar' '--with-jpeg-dir=/usr/lib' '--with-gd' '--with-xsl' '--enable-mbstring' --enable-pdo=shared --enable-fileinfo=shared Expected result: PHP should compile. Actual result: -- ext/pdo_sqlite/.libs/pdo_sqlite.o(.text+0x5c): In function `zm_shutdown_pdo_sqlite': /usr/src/php-5.1.1/ext/pdo_sqlite/pdo_sqlite.c:87: undefined reference to `php_pdo_unregister_driver' ext/pdo_sqlite/.libs/pdo_sqlite.o(.text+0x7c): In function `zm_startup_pdo_sqlite': /usr/src/php-5.1.1/ext/pdo_sqlite/pdo_sqlite.c:80: undefined reference to `php_pdo_register_driver' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0x19c): In function `zif_SQLite_sqliteCreateAggregate': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_driver.c:543: undefined reference to `pdo_raise_impl_error' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0x394): In function `zif_SQLite_sqliteCreateFunction': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_driver.c:471: undefined reference to `pdo_raise_impl_error' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0xb2a): In function `pdo_sqlite_last_insert_id': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_driver.c:197: undefined reference to `php_pdo_int64_to_str' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0xddc): In function `_pdo_sqlite_error': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_driver.c:78: undefined reference to `php_pdo_get_exception' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0x101d): In function `pdo_sqlite_handle_factory': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_driver.c:697: undefined reference to `php_pdo_get_exception' ext/pdo_sqlite/.libs/sqlite_statement.o(.text+0x365): In function `pdo_sqlite_stmt_param_hook': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_statement.c:116: undefined reference to `pdo_raise_impl_error' ext/sqlite/.libs/sqlite.o(.text+0x4a67): In function `zm_shutdown_sqlite': /usr/src/php-5.1.1/ext/sqlite/sqlite.c:1113: undefined reference to `php_pdo_unregister_driver' ext/sqlite/.libs/sqlite.o(.text+0x5298): In function `zm_startup_sqlite': /usr/src/php-5.1.1/ext/sqlite/sqlite.c:1100: undefined reference to `php_pdo_register_driver' ext/sqlite/.libs/pdo_sqlite2.o(.text+0x1af): In function `pdo_sqlite2_last_insert_id': /usr/src/php-5.1.1/ext/sqlite/pdo_sqlite2.c:373: undefined reference to `php_pdo_int64_to_str' ext/sqlite/.libs/pdo_sqlite2.o(.text+0x544): In function `_pdo_sqlite2_error': /usr/src/php-5.1.1/ext/sqlite/pdo_sqlite2.c:291: undefined reference to `php_pdo_get_exception' ext/sqlite/.libs/pdo_sqlite2.o(.text+0xb60): In function `pdo_sqlite2_handle_factory': /usr/src/php-5.1.1/ext/sqlite/pdo_sqlite2.c:579: undefined reference to `php_pdo_get_exception' -- Edit this bug report at http://bugs.php.net/?id=35778&edit=1
#35778 [NEW]: PHP 5.1.1
From: popefelix at gmail dot com Operating system: SuSE Linux 9.3 PHP version: 5.1.1 PHP Bug Type: PDO related Bug description: PHP 5.1.1 Description: When attempting to compile PHP 5.1.1 with "--enable-pdo=shared" passed to ./configure, make fails with undefined references in ext/pdo_sqlite/pdo_sqlite.c. While I realize that this is a duplicate of bug 34939, this error is in PHP 5.1.1, which postdates the closure of that bug. Reproduce code: --- './configure' '--enable-soap' '--with-apxs2' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--prefix=/usr/local/php' '--with-xml' '--with-zlib' '--with-openssl' '--enable-calendar' '--with-jpeg-dir=/usr/lib' '--with-gd' '--with-xsl' '--enable-mbstring' --enable-pdo=shared --enable-fileinfo=shared Expected result: PHP should compile. Actual result: -- ext/pdo_sqlite/.libs/pdo_sqlite.o(.text+0x5c): In function `zm_shutdown_pdo_sqlite': /usr/src/php-5.1.1/ext/pdo_sqlite/pdo_sqlite.c:87: undefined reference to `php_pdo_unregister_driver' ext/pdo_sqlite/.libs/pdo_sqlite.o(.text+0x7c): In function `zm_startup_pdo_sqlite': /usr/src/php-5.1.1/ext/pdo_sqlite/pdo_sqlite.c:80: undefined reference to `php_pdo_register_driver' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0x19c): In function `zif_SQLite_sqliteCreateAggregate': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_driver.c:543: undefined reference to `pdo_raise_impl_error' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0x394): In function `zif_SQLite_sqliteCreateFunction': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_driver.c:471: undefined reference to `pdo_raise_impl_error' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0xb2a): In function `pdo_sqlite_last_insert_id': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_driver.c:197: undefined reference to `php_pdo_int64_to_str' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0xddc): In function `_pdo_sqlite_error': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_driver.c:78: undefined reference to `php_pdo_get_exception' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0x101d): In function `pdo_sqlite_handle_factory': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_driver.c:697: undefined reference to `php_pdo_get_exception' ext/pdo_sqlite/.libs/sqlite_statement.o(.text+0x365): In function `pdo_sqlite_stmt_param_hook': /usr/src/php-5.1.1/ext/pdo_sqlite/sqlite_statement.c:116: undefined reference to `pdo_raise_impl_error' ext/sqlite/.libs/sqlite.o(.text+0x4a67): In function `zm_shutdown_sqlite': /usr/src/php-5.1.1/ext/sqlite/sqlite.c:1113: undefined reference to `php_pdo_unregister_driver' ext/sqlite/.libs/sqlite.o(.text+0x5298): In function `zm_startup_sqlite': /usr/src/php-5.1.1/ext/sqlite/sqlite.c:1100: undefined reference to `php_pdo_register_driver' ext/sqlite/.libs/pdo_sqlite2.o(.text+0x1af): In function `pdo_sqlite2_last_insert_id': /usr/src/php-5.1.1/ext/sqlite/pdo_sqlite2.c:373: undefined reference to `php_pdo_int64_to_str' ext/sqlite/.libs/pdo_sqlite2.o(.text+0x544): In function `_pdo_sqlite2_error': /usr/src/php-5.1.1/ext/sqlite/pdo_sqlite2.c:291: undefined reference to `php_pdo_get_exception' ext/sqlite/.libs/pdo_sqlite2.o(.text+0xb60): In function `pdo_sqlite2_handle_factory': /usr/src/php-5.1.1/ext/sqlite/pdo_sqlite2.c:579: undefined reference to `php_pdo_get_exception' -- Edit bug report at http://bugs.php.net/?id=35778&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35778&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35778&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35778&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=35778&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35778&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35778&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=35778&r=needscript Try newer version:http://bugs.php.net/fix.php?id=35778&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35778&r=support Expected behavior:http://bugs.php.net/fix.php?id=35778&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35778&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35778&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35778&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35778&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35778&r=dst IIS Stability:http://bugs.php.net/fix.php?id=35778&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35778&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35778&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35778&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=35778&r=mysqlcfg