Bug #14856 Updated: Error compiling apache after compiling php with custom-odbc
| From: | php-bugs at lists dot php dot net | Date: | Sat, 02 Mar 2002 05:00:26 +0000 |
| Subject: | Bug #14856 Updated: Error compiling apache after compiling php with custom-odbc | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-1451@lists.php.net to get a copy of this message | ||
ID: 14856
Updated by: php-bugs@lists.php.net
Reported By: johnn@neill.net
-Status: Feedback
+Status: No Feedback
Bug Type: PHP options/info functions
Operating System: RedHat Linux 7.2
PHP Version: 4.1.1
New Comment:
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2002-01-30 17:01:31] kalowsky@php.net
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.
------------------------------------------------------------------------
[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