Bug #14856: Error compiling apache after compiling php with custom-odbc
| From: | johnn at neill dot net | Date: | Fri, 04 Jan 2002 18:37:01 +0000 |
| Subject: | Bug #14856: Error compiling apache after compiling php with custom-odbc | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-75888@lists.php.net to get a copy of this message | ||
From: johnn@neill.net
Operating system: RedHat Linux 7.2
PHP version: 4.1.1
PHP Bug Type: PHP options/info functions
Bug description: Error compiling apache after compiling php with custom-odbc
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 bug report at: http://bugs.php.net/?id=14856&edit=1