I configured PHP 4.0.5 with the --with-custom-odbc option.

I get no errors but the odbc functions are not available.

When I look at phpinfo() I can see that the configure command is:

'./configure' '--with-mysql' '--with-apache=../apache_1.3.19'

Is --with-custom-odbc ignored? Any ideas?

I did set CUSTOM_ODBC_LIBS and CFLAGS and created a odbc.h include file:

[/root] echo $CUSTOM_ODBC_LIBS
-L/progress/dlc91/odbc/lib -lodbc -lodbcinst
[/root] echo $CFLAGS
-I/progress/dlc91/odbc/include -I/usr/local/src/apache_1.3.19/include
[/root] echo $LDFLAGS

[/root] cat /progress/dlc91/odbc/include/odbc.h
#include <sql.h>
#include <sqlext.h>
#include <odbcinst.h>

Met vriendelijke groet / With kind regards,

ICL Nederland B.V.                      Simon de Kraa
e-Applications / Logistic Systems       Systems Architect
Het Kwadrant 1                          Tel. +31 346 598865
Postbus 4000                            Fax  +31 346 562703
The Netherlands                         mailto:[EMAIL PROTECTED]


Progress 9.1c, Roundtable 9.1c, NuSphere Pro Advantage 2.3.1 @ MS Windows
2000 5.00.2195 SP 2
Progress 9.1b @ SCO UnixWare 7.1.1

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to