Install Question
| From: | Robert J. Hanson | Date: | Thu, 20 Feb 2003 15:56:26 +0000 |
| Subject: | Install Question | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-25796@lists.php.net to get a copy of this message | ||
Has anyone used this option for compiling PHP with custom ODBC drivers.
I am trying to use a Teradata ODBC driver and have not had any luck
using iODBC.
--with-custom-odbc[=DIR]
Include a user defined ODBC support.
The DIR is ODBC install base directory, which
defaults to /usr/local. Make sure to
define CUSTOM_ODBC_LIBS and have some odbc.h
in your include dirs. E.g., you should
define following for Sybase SQL Anywhere 5.5.00
on QNX, prior to run configure script:
CPPFLAGS="-DODBC_QNX -DSQLANY_BUG"
LDFLAGS=-lunix
CUSTOM_ODBC_LIBS="-ldblib -lodbc".
Any help would be greatly appreciated.