Bug #14856 Updated: Error compiling apache after compiling php with custom-odbc

From: Date: Wed, 30 Jan 2002 22:01:31 +0000
Subject: Bug #14856 Updated: Error compiling apache after compiling php with custom-odbc
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-78609@lists.php.net to get a copy of this message
ID: 14856 Updated by: kalowsky Reported By: johnn@neill.net 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] johnn@neill.net 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

« previous php.dev (#78609) next »