php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62791 PDO IBM installation error
Submitted: 2012-08-10 13:21 UTC Modified: -
Votes:5
Avg. Score:4.8 ± 0.4
Reproduced:5 of 5 (100.0%)
Same Version:1 (20.0%)
Same OS:2 (40.0%)
From: brijesh dot mishra at osscube dot com Assigned:
Status: Open Package: PDO_IBM (PECL)
PHP Version: 5.3.15 OS: linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2012-08-10 13:21 UTC] brijesh dot mishra at osscube dot com
Description:
------------
root@administrator:/home/administrator/Downloads/PDO_IBM-1.3.1# make
/bin/bash /home/administrator/Downloads/PDO_IBM-1.3.1/libtool --mode=compile cc -I/usr/include/php/ext -I. -I/home/administrator/Downloads/PDO_IBM-1.3.1 -DPHP_ATOM_INC -I/home/administrator/Downloads/PDO_IBM-1.3.1/include -I/home/administrator/Downloads/PDO_IBM-1.3.1/main -I/home/administrator/Downloads/PDO_IBM-1.3.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include  -DHAVE_CONFIG_H  -g -O2   -c /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c -o pdo_ibm.lo 
libtool: compile:  cc -I/usr/include/php/ext -I. -I/home/administrator/Downloads/PDO_IBM-1.3.1 -DPHP_ATOM_INC -I/home/administrator/Downloads/PDO_IBM-1.3.1/include -I/home/administrator/Downloads/PDO_IBM-1.3.1/main -I/home/administrator/Downloads/PDO_IBM-1.3.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include -DHAVE_CONFIG_H -g -O2 -c /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c  -fPIC -DPIC -o .libs/pdo_ibm.o
In file included from /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c:31:0:
/home/administrator/Downloads/PDO_IBM-1.3.1/php_pdo_ibm_int.h:26:21: fatal error: sqlcli1.h: No such file or directory
compilation terminated.
make: *** [pdo_ibm.lo] Error 1
root@administrator:/home/administrator/Downloads/PDO_IBM-1.3.1# 

Test script:
---------------
root@administrator:/home/administrator/Downloads/PDO_IBM-1.3.1# make
/bin/bash /home/administrator/Downloads/PDO_IBM-1.3.1/libtool --mode=compile cc -I/usr/include/php/ext -I. -I/home/administrator/Downloads/PDO_IBM-1.3.1 -DPHP_ATOM_INC -I/home/administrator/Downloads/PDO_IBM-1.3.1/include -I/home/administrator/Downloads/PDO_IBM-1.3.1/main -I/home/administrator/Downloads/PDO_IBM-1.3.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include  -DHAVE_CONFIG_H  -g -O2   -c /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c -o pdo_ibm.lo 
libtool: compile:  cc -I/usr/include/php/ext -I. -I/home/administrator/Downloads/PDO_IBM-1.3.1 -DPHP_ATOM_INC -I/home/administrator/Downloads/PDO_IBM-1.3.1/include -I/home/administrator/Downloads/PDO_IBM-1.3.1/main -I/home/administrator/Downloads/PDO_IBM-1.3.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include -DHAVE_CONFIG_H -g -O2 -c /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c  -fPIC -DPIC -o .libs/pdo_ibm.o
In file included from /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c:31:0:
/home/administrator/Downloads/PDO_IBM-1.3.1/php_pdo_ibm_int.h:26:21: fatal error: sqlcli1.h: No such file or directory
compilation terminated.
make: *** [pdo_ibm.lo] Error 1
root@administrator:/home/administrator/Downloads/PDO_IBM-1.3.1# 

Expected result:
----------------
root@administrator:/home/administrator/Downloads/PDO_IBM-1.3.1# make
/bin/bash /home/administrator/Downloads/PDO_IBM-1.3.1/libtool --mode=compile cc -I/usr/include/php/ext -I. -I/home/administrator/Downloads/PDO_IBM-1.3.1 -DPHP_ATOM_INC -I/home/administrator/Downloads/PDO_IBM-1.3.1/include -I/home/administrator/Downloads/PDO_IBM-1.3.1/main -I/home/administrator/Downloads/PDO_IBM-1.3.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include  -DHAVE_CONFIG_H  -g -O2   -c /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c -o pdo_ibm.lo 
libtool: compile:  cc -I/usr/include/php/ext -I. -I/home/administrator/Downloads/PDO_IBM-1.3.1 -DPHP_ATOM_INC -I/home/administrator/Downloads/PDO_IBM-1.3.1/include -I/home/administrator/Downloads/PDO_IBM-1.3.1/main -I/home/administrator/Downloads/PDO_IBM-1.3.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include -DHAVE_CONFIG_H -g -O2 -c /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c  -fPIC -DPIC -o .libs/pdo_ibm.o
In file included from /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c:31:0:
/home/administrator/Downloads/PDO_IBM-1.3.1/php_pdo_ibm_int.h:26:21: fatal error: sqlcli1.h: No such file or directory
compilation terminated.
make: *** [pdo_ibm.lo] Error 1
root@administrator:/home/administrator/Downloads/PDO_IBM-1.3.1# 

Actual result:
--------------
root@administrator:/home/administrator/Downloads/PDO_IBM-1.3.1# make
/bin/bash /home/administrator/Downloads/PDO_IBM-1.3.1/libtool --mode=compile cc -I/usr/include/php/ext -I. -I/home/administrator/Downloads/PDO_IBM-1.3.1 -DPHP_ATOM_INC -I/home/administrator/Downloads/PDO_IBM-1.3.1/include -I/home/administrator/Downloads/PDO_IBM-1.3.1/main -I/home/administrator/Downloads/PDO_IBM-1.3.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include  -DHAVE_CONFIG_H  -g -O2   -c /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c -o pdo_ibm.lo 
libtool: compile:  cc -I/usr/include/php/ext -I. -I/home/administrator/Downloads/PDO_IBM-1.3.1 -DPHP_ATOM_INC -I/home/administrator/Downloads/PDO_IBM-1.3.1/include -I/home/administrator/Downloads/PDO_IBM-1.3.1/main -I/home/administrator/Downloads/PDO_IBM-1.3.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include -DHAVE_CONFIG_H -g -O2 -c /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c  -fPIC -DPIC -o .libs/pdo_ibm.o
In file included from /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c:31:0:
/home/administrator/Downloads/PDO_IBM-1.3.1/php_pdo_ibm_int.h:26:21: fatal error: sqlcli1.h: No such file or directory
compilation terminated.
make: *** [pdo_ibm.lo] Error 1
root@administrator:/home/administrator/Downloads/PDO_IBM-1.3.1# 

Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Sep 16 14:01:28 2019 UTC