Problem with --with-custom-odbc
| From: | Kraa de Simon | Date: | Wed, 24 Oct 2001 11:26:01 +0000 |
| Subject: | Problem with --with-custom-odbc | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-72083@lists.php.net to get a copy of this message | ||
Hello,
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'
'--enable-track-vars'
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>
[/root]
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
3600 KA MAARSSEN
The Netherlands mailto:Simon.de.Kraa@icl.nl
---
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