[unixODBC-support] PHP PDO_ODBC install failed with flavour unixODBC 2.2.14

Nick Gorham nick at lurcher.org
Fri Sep 18 14:51:01 BST 2009

Thomas Despoix wrote:
> Hi everyone,
> I've been experiencing a problem using latest (2.2.14) unixODBC source
> files for installing PHP PDO_ODBC with a unixODBC flavour.
> Indeed such an installation needs a pdo_odbc.so making which fails
> while including unixodbc_conf.h :
>   /usr/src/unixODBC/include/sqltypes.h:52:27: error: unixodbc_conf.h:
> No such file or directory
>   /usr/src/unixODBC/include/sqltypes.h:56:2: error: #error "Needs to
> know how big a long int is to continue!!!"
>   make: *** [pdo_odbc.lo] Erreur 1
>   ERROR: `make' failed
> Here are the references
>   unixODBC.x86_64  2.2.11-7.1 is installed on a RHEL5 distribution
>   trying to "pecl install_odbc" with "unixODBC,/usr/src/unixODBC-2.2.14" flavour
> I finally downloaded the 2.2.12 release of the source code as a
> workaround, but i'm willing to find a more proper solution.
> Any clue ?
Try the 2.2.15pre on the ftp site that should fix this, if not let me 
know and I will check


More information about the unixODBC-support mailing list