ID: 14856 Updated by: kalowsky Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: PHP options/info functions Operating System: RedHat Linux 7.2 PHP Version: 4.1.1 New Comment:
This sounds like your ODBC library is missing. Can you check to see if your custom ODBC libraries have commands such at those that are being searched for (i.e. SQLAllocStatement). If it does, please check that the path is properly set, and that the custom ODBC follows the same format PHP is looking for these files in. Previous Comments: ------------------------------------------------------------------------ [2002-01-04 13:37:01] [EMAIL PROTECTED] I configure php with the following... ./configure --with-apache=../apache_1.3.22 --with-mysql --with-custom-odbc=/www/wsrt/odbc --with-xml --enable-wddx --enable-track-vars --enable-calendar --enable-debug --enable-ftp --enable-sockets LDFLAGS, CFLAGS, and CUSTOM_ODBC_LIBS env variables have all been set. The configure, make, and make install all go fine for php. Then I configure apache with the following... ./configure --activate-module=src/modules/php4/libphp4.a --enable-module=ssl --prefix=/www The configuration of Apache goes smoothly, but when I try to make, I get numerous errors which look like... modules/php4/libphp4.a(php_odbc.o): In function `zif_odbc_tableprivileges': /home/johnn/php-4.1.1/ext/odbc/php_odbc.c:3478: undefined reference to `SQLAllocStmt' /home/johnn/php-4.1.1/ext/odbc/php_odbc.c:3491: undefined reference to `SQLTablePrivileges' /home/johnn/php-4.1.1/ext/odbc/php_odbc.c:3503: undefined reference to `SQLNumResultCols' And then the Apache build errors out. I don't know if this is a php bug, Apache bug, or even a bug at all, but we have spent the better part of a week trouble shooting this, with all kinds of help from the online php community, but to no avail. I'm also going to post this to the Apache people incase it is something on their end. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14856&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]