ID: 34939 Updated by: [EMAIL PROTECTED] Reported By: marcel dot bariou at brasnah dot com -Status: Open +Status: Assigned Bug Type: PDO related Operating System: LINUX RH ES3 PHP Version: 5.1.0RC3 Assigned To: wez
Previous Comments: ------------------------------------------------------------------------ [2005-10-21 17:44:29] marcel dot bariou at brasnah dot com Yes, I add ----enable-pdo=shared (last line of ./configure as you can see..) ------------------------------------------------------------------------ [2005-10-21 16:51:45] [EMAIL PROTECTED] Did you --enable-pdo ? ------------------------------------------------------------------------ [2005-10-21 14:16:01] [EMAIL PROTECTED] Wez, take a look at it please. ------------------------------------------------------------------------ [2005-10-21 06:20:54] marcel dot bariou at brasnah dot com Description: ------------ I start with this configure directive : ./configure --prefix=/etc/httpd --with-apxs2=/usr/sbin/apxs --with-config-file-path=/etc/httpd/conf --with-mysql=/usr/local/mysql --enable-bc-math --enable-calendar --with-curl=/usr --enable-exif --with-gettext --with-gmp --enable-id3 --with-java=/usr/local/java=/usr/local/j2sdk --with-mcrypt=/usr/local --with-mhash=/usr/local --enable-overload --enable-pcntl --with-regex=PHP --enable-soap --enable-sockets --with-tidy=/usr/local --enable-wddx --with-xsl=/usr/local --enable-xslt --with-xslt-sablot --with-expat-dir=/usr --enable-php-streams --enable-memory-limit --enable-cli --enable-posix --enable-pcre --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-shmop --with-pear --with-xmlrpc --with-zlib=/usr --with-iconv --with-iconv-dir=/usr/local --with-pdo-mysql=/usr/local/mysql --enable-pdo=shared Make message => : ext/pdo_mysql/.libs/pdo_mysql.o(.text+0x13): In function `zm_startup_pdo_mysql': /usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/pdo_mysql.c:78: undefined reference to `php_pdo_declare_long_constant' ext/pdo_mysql/.libs/pdo_mysql.o(.text+0x34): In function `zm_shutdown_pdo_mysql': /usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/pdo_mysql.c:88: undefined reference to `php_pdo_unregister_driver' ext/pdo_mysql/.libs/pdo_mysql.o(.text+0x23): In function `zm_startup_pdo_mysql': /usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/pdo_mysql.c:80: undefined reference to `php_pdo_register_driver' ext/pdo_mysql/.libs/mysql_driver.o(.text+0x197): In function `_pdo_mysql_error': /usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/mysql_driver.c:100: undefined reference to `php_pdo_get_exception' ext/pdo_mysql/.libs/mysql_driver.o(.text+0x378): In function `mysql_handle_preparer': /usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/mysql_driver.c:169: undefined reference to `pdo_parse_params' ext/pdo_mysql/.libs/mysql_driver.o(.text+0x57a): In function `pdo_mysql_last_insert_id': /usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/mysql_driver.c:250: undefined reference to `php_pdo_int64_to_str' ext/pdo_mysql/.libs/mysql_driver.o(.text+0x84e): In function `pdo_mysql_handle_factory': /usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/mysql_driver.c:403: undefined reference to `php_pdo_parse_data_source' ext/pdo_mysql/.libs/mysql_statement.o(.text+0x835): In function `pdo_mysql_stmt_param_hook': /usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/mysql_statement.c:332: undefined reference to `pdo_raise_impl_error' ext/pdo_sqlite/.libs/pdo_sqlite.o(.text+0x1c): In function `zm_shutdown_pdo_sqlite': /usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/pdo_sqlite.c:87: undefined reference to `php_pdo_unregister_driver' ext/pdo_sqlite/.libs/pdo_sqlite.o(.text+0xc): In function `zm_startup_pdo_sqlite': /usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/pdo_sqlite.c:80: undefined reference to `php_pdo_register_driver' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0xa5): In function `_pdo_sqlite_error': /usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/sqlite_driver.c:78: undefined reference to `php_pdo_get_exception' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0x37e): In function `pdo_sqlite_last_insert_id': /usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/sqlite_driver.c:197: undefined reference to `php_pdo_int64_to_str' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0xb62): In function `zif_SQLite_sqliteCreateFunction': /usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/sqlite_driver.c:471: undefined reference to `pdo_raise_impl_error' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0xcd6): In function `zif_SQLite_sqliteCreateAggregate': /usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/sqlite_driver.c:543: undefined reference to `pdo_raise_impl_error' ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0x1077): In function `pdo_sqlite_handle_factory': /usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/sqlite_driver.c:697: undefined reference to `php_pdo_get_exception' ext/pdo_sqlite/.libs/sqlite_statement.o(.text+0x2d6): In function `pdo_sqlite_stmt_param_hook': /usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/sqlite_statement.c:116: undefined reference to `pdo_raise_impl_error' ext/sqlite/.libs/sqlite.o(.text+0x172f): In function `zm_startup_sqlite': /usr/local/xtra_targz/php5-200510202030/ext/sqlite/sqlite.c:1100: undefined reference to `php_pdo_register_driver' ext/sqlite/.libs/sqlite.o(.text+0x175e): In function `zm_shutdown_sqlite': /usr/local/xtra_targz/php5-200510202030/ext/sqlite/sqlite.c:1113: undefined reference to `php_pdo_unregister_driver' ext/sqlite/.libs/pdo_sqlite2.o(.text+0x4df): In function `_pdo_sqlite2_error': /usr/local/xtra_targz/php5-200510202030/ext/sqlite/pdo_sqlite2.c:291: undefined reference to `php_pdo_get_exception' ext/sqlite/.libs/pdo_sqlite2.o(.text+0x73f): In function `pdo_sqlite2_last_insert_id': /usr/local/xtra_targz/php5-200510202030/ext/sqlite/pdo_sqlite2.c:373: undefined reference to `php_pdo_int64_to_str' ext/sqlite/.libs/pdo_sqlite2.o(.text+0xbfc): In function `pdo_sqlite2_handle_factory': /usr/local/xtra_targz/php5-200510202030/ext/sqlite/pdo_sqlite2.c:579: undefined reference to `php_pdo_get_exception' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Erreur 1 Thanks for your help ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34939&edit=1