Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

configure: error: Oracle Instant Client SDK header files not found

shoaib_ahmed_khanOct 13 2008 — edited Oct 13 2008
Hi All,
i am having problem in configuring php with oracle client, i am trying it for last two days but couldn't make it, anyone have any better idea about it
as i have
RHEL - 5
php 5.2.6
oracle client = 10.2.0.4

when i issues ./configure command it gives me output as below (show error in last line=BOLD)

./configure prefix=/wwwroot/php with-apxs2=/wwwroot/bin/apxs with-config-file-path=/wwwroot/php with-mysql --with-oci8=instantclient,/usr/lib/oracle/10.2.0.4/client/lib
.........
..................
.........................
.............................

checking for LDAP Cyrus SASL support... no
checking whether to enable multibyte string support... no
checking whether to enable multibyte regex support... yes
checking whether to check multibyte regex backtrack... yes
checking for external libmbfl... no
checking for mcrypt support... no
checking for mhash support... no
checking whether to include mime_magic support... no
checking for MING support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock
checking for mysql_close in -lmysqlclient... (cached) yes
checking for MySQLi support... no
checking whether to enable embedded MySQLi support... no
checking for ncurses support... no
checking for Oracle (OCI8) support... yes
checking PHP version... 5.2.6, ok
checking size of long int... (cached) 4
checking Oracle Instant Client directory... /usr/lib/oracle/10.2.0.4/client/lib
checking Oracle Instant Client SDK header directory... configure: error: Oracle Instant Client SDK header files not found


i am doing it step by step as the instructions are written in oracle website, can anybody help me
any kind of help will be highly appreciated

Comments

Christian.Shay -Oracle
Answer

Hi Bob,
When I have seen something this extreme, usually something went wrong in the installation and it needs to be reinstalled.
What version of our extension are they using?
What OS and version are they using?
What version of the .NET Runtime are they using?
Lets try to reinstall, and lets wait after each step to give it a chance to complete and open and close VS Code with each step:
Uninstall the extension, wait 2 minutes, restart VS Code, wait 2 more minutes, reinstall of the extension, wait 2 minutes, and then restart vscode.
Let me know if this fixes it for them.

Marked as Answer by BobMilli · Apr 28 2022
BobMilli

Hello,
Thanks for your help.
It was due, as you suspected, as a missing correct .NET Runtime.
Issue fixed !
Regards,
Bob

Christian.Shay -Oracle

Hi Bob,
We are supposed to prompt the user if they don't have the correct .NET Runtime installed and we offer to take them to a web page to show them how to install it.
Did that happen in this case? If not, that is a serious issue and I would appreciate it if you could let me know what versions of .NET Runtime they had installed on their machine when this failure occurred. If we did notify them about the missing .NET Runtime, but they ignored it, then this is expected behavior.

1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 10 2008
Added on Oct 13 2008
1 comment
11,717 views