Bug #71887 [Opn->Csd]: fatal error: odbcsdk.h: No such file or directory
Edit report at https://bugs.php.net/bug.php?id=71887&edit=1
ID: 71887
Updated by: cmb@php.net
Reported by: vvvaagn at gmail dot com
Summary: fatal error: odbcsdk.h: No such file or directory
-Status: Open
+Status: Closed
Type: Bug
Package: PDO related
Operating System: debian
PHP Version: 7.0.5RC1
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
odbcsdk.h is no longer included as of PHP 7.3.0.
Previous Comments:
------------------------------------------------------------------------
[2016-03-23 10:31:11] vvvaagn at gmail dot com
Description:
------------
hi
I want do built php with this configuration
./configure --enable-all --without-imap --without-oci8 --without-adabas --enable-opcache=no
--disable-pcntl --without-sapdb --without-solid --without-ibm-db2 --without-pdo-oci
--without-pdo-odbc --without-pdo-pgsql --without-pgsql --without-readline --without-libedit
--without-recode --without-snmp -without-odbcver --without-iodbc --without-pdo-mysql
--without-pdo-firebird --without-pdo-dblib --without-iodbc
Test script:
---------------
but got this error
/bin/bash /root/php-src/libtool --silent --preserve-dup-deps --mode=compile cc
-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/phar/ -I/root/php-src/ext/phar/ -DPHP_ATOM_INC
-I/root/php-src/include -I/root/php-src/main -I/root/php-src -I/root/php-src/ext/date/lib
-I/usr/include/libxml2 -I/usr/include/enchant -I/opt/firebird/include
-I/root/php-src/ext/mbstring/oniguruma -I/root/php-src/ext/mbstring/libmbfl
-I/root/php-src/ext/mbstring/libmbfl/mbfl -I/root/php-src/ext/sqlite3/libsqlite
-I/usr/include/pspell -I/usr/include/tidy -I/root/php-src/ext/zip/lib -I/root/php-src/TSRM
-I/root/php-src/Zend -I/usr/include -g -O2 -fvisibility=hidden -c
/root/php-src/ext/phar/dirstream.c -o ext/phar/dirstream.lo
In file included from /root/php-src/ext/odbc/php_odbc.c:37:0:
/root/php-src/ext/odbc/php_odbc_includes.h:135:21: fatal error: odbcsdk.h: No such file or directory
#include <odbcsdk.h>
^
compilation terminated.
/bin/bash /root/php-src/libtool --silent --preserve-dup-deps --mode=compile cc
-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/phar/ -I/root/php-src/ext/phar/ -DPHP_ATOM_INC
-I/root/php-src/include -I/root/php-src/main -I/root/php-src -I/root/php-src/ext/date/lib
-I/usr/include/libxml2 -I/usr/include/enchant -I/opt/firebird/include
-I/root/php-src/ext/mbstring/oniguruma -I/root/php-src/ext/mbstring/libmbfl
-I/root/php-src/ext/mbstring/libmbfl/mbfl -I/root/php-src/ext/sqlite3/libsqlite
-I/usr/include/pspell -I/usr/include/tidy -I/root/php-src/ext/zip/lib -I/root/php-src/TSRM
-I/root/php-src/Zend -I/usr/include -g -O2 -fvisibility=hidden -c /root/php-src/ext/phar/phar.c
-o ext/phar/phar.lo
/bin/bash /root/php-src/libtool --silent --preserve-dup-deps --mode=compile cc
-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/phar/ -I/root/php-src/ext/phar/ -DPHP_ATOM_INC
-I/root/php-src/include -I/root/php-src/main -I/root/php-src -I/root/php-src/ext/date/lib
-I/usr/include/libxml2 -I/usr/include/enchant -I/opt/firebird/include
-I/root/php-src/ext/mbstring/oniguruma -I/root/php-src/ext/mbstring/libmbfl
-I/root/php-src/ext/mbstring/libmbfl/mbfl -I/root/php-src/ext/sqlite3/libsqlite
-I/usr/include/pspell -I/usr/include/tidy -I/root/php-src/ext/zip/lib -I/root/php-src/TSRM
-I/root/php-src/Zend -I/usr/include -g -O2 -fvisibility=hidden -c
/root/php-src/ext/phar/phar_object.c -o ext/phar/phar_object.lo
/bin/bash /root/php-src/libtool --silent --preserve-dup-deps --mode=compile cc
-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/phar/ -I/root/php-src/ext/phar/ -DPHP_ATOM_INC
-I/root/php-src/include -I/root/php-src/main -I/root/php-src -I/root/php-src/ext/date/lib
-I/usr/include/libxml2 -I/usr/include/enchant -I/opt/firebird/include
-I/root/php-src/ext/mbstring/oniguruma -I/root/php-src/ext/mbstring/libmbfl
-I/root/php-src/ext/mbstring/libmbfl/mbfl -I/root/php-src/ext/sqlite3/libsqlite
-I/usr/include/pspell -I/usr/include/tidy -I/root/php-src/ext/zip/lib -I/root/php-src/TSRM
-I/root/php-src/Zend -I/usr/include -g -O2 -fvisibility=hidden -c
/root/php-src/ext/phar/phar_path_check.c -o ext/phar/phar_path_check.lo
Makefile:1493: recipe for target 'ext/odbc/php_odbc.lo' failed
make: *** [ext/odbc/php_odbc.lo] Error 1
make: *** Waiting for unfinished jobs....
root@dns:~/php-src#
/root/php-src/ext/odbc/php_odbc_includes.h:135:21: fatal error: odbcsdk.h: No such file or directory
#include <odbcsdk.h>
I can't fount this file
Can you help me, how I can built in? what I do wrong, tnx
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71887&edit=1
Thread (2 messages)