ID: 33316 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Closed Bug Type: PDO related Operating System: IRIX 6.5.27 PHP Version: 5CVS-2005-06-12 (dev) New Comment:
It works now. Thx for the fix. regards Joerg Previous Comments: ------------------------------------------------------------------------ [2005-06-14 04:19:02] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip I changed quite a lot of the ext/pdo_odbc/config.m4 so please try it out. (make sure the file has revision 1.20!) ------------------------------------------------------------------------ [2005-06-12 19:21:02] [EMAIL PROTECTED] Description: ------------ PHP was unable to bypass the configure when using --with-pdo-odbc=unixODBC,/usr/nekoware and latest mips c99 compiler. Thats sounds weird because checking for ext/unixodbc works like a charm. checking for unixODBC support... yes ... checking for ODBC v3 support for PDO... yes checking for selected PDO ODBC flavour... unixODBC libs /usr/nekoware/lib, headers /usr/nekoware/include Your ODBC library does not exist ... Config.log shows whats going wrong: configure:73675: c99 -o conftest -O3 -mips4 -I/usr/nekoware/include -OPT:Olimit=0:roundoff=3 -TAR G:platform=IP27:proc=r10000 -I/usr/nekoware/include -D_XPG_IV -L/usr/nekoware/lib -lodbc -lm -ldl conftest.c -lm -lz -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm 1>&5 ld32: WARNING 84 : /usr/nekoware/lib/libodbc.so is not used for resolving any symbol. ld32: WARNING 84 : /usr/lib32/mips4/libm.so is not used for resolving any symbol. ld32: WARNING 84 : /usr/lib32/libdl.so is not used for resolving any symbol. ld32: WARNING 84 : /usr/nekoware/lib/libz.so is not used for resolving any symbol. ld32: WARNING 84 : /usr/nekoware/lib/libxml2.so is not used for resolving any symbol. ld32: ERROR 33 : Unresolved text symbol "SQLBindCol" -- 1st referenced by conftest.o. After adding -lodbc to the END of the line instead somewhere in the middle the configtest compiles fine and configure passes the check. The same issue 20 lines later when it tries to detecting libodbc > 3.x After the changes PHP head compiles fine. regards Joerg Reproduce code: --------------- Compile with '--with-unixODBC=shared,/usr/nekoware' \ '--with-pdo-odbc=unixODBC,/usr/nekoware' \ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33316&edit=1