#35778 [NEW]: PHP 5.1.1
| From: | popefelix at gmail dot com | Date: | Thu, 22 Dec 2005 21:11:04 +0000 |
| Subject: | #35778 [NEW]: PHP 5.1.1 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-90900@lists.php.net to get a copy of this message | ||
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