php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71887 fatal error: odbcsdk.h: No such file or directory
Submitted: 2016-03-23 10:31 UTC Modified: -
From: vvvaagn at gmail dot com Assigned:
Status: Open Package: PDO related
PHP Version: 7.0.5RC1 OS: debian
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
13 + 23 = ?
Subscribe to this entry?

 
 [2016-03-23 10:31 UTC] 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



Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Oct 16 04:01:26 2019 UTC