fatal error: zend_smart_str.h: No such file or directory
I am trying to install oci8 using "pecl install oci8" command but getting error as -
fatal error: zend_smart_str.h: No such file or directory
#include "zend_smart_str.h"
following are my system details -
1.ubuntu 14.04
2.php 7.0.17-2+deb.sury.org~trusty+1
steps I followed -
download instantclient-basic-linux-12.2.0.1.0.zip
download instantclient-sdk-linux.x64-12.2.0.1.0.zip
- create dir in /opt/oracle
- extract both zip files
- run pecl install oci8 command
Outout -
/bin/bash /tmp/oci8-2.1.4/libtool --mode=compile cc -I. -I/tmp/oci8-2.1.4 -DPHP_ATOM_INC -I/tmp/oci8-2.1.4/include -I/tmp/oci8-2.1.4/main -I/tmp/oci8-2.1.4 -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/opt/oracle/instantclient_12_2/sdk/include -DHAVE_CONFIG_H -g -O2 -c /tmp/oci8-2.1.4/oci8.c -o oci8.lo
libtool: compile: cc -I. -I/tmp/oci8-2.1.4 -DPHP_ATOM_INC -I/tmp/oci8-2.1.4/include -I/tmp/oci8-2.1.4/main -I/tmp/oci8-2.1.4 -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/opt/oracle/instantclient_12_2/sdk/include -DHAVE_CONFIG_H -g -O2 -c /tmp/oci8-2.1.4/oci8.c -fPIC -DPIC -o .libs/oci8.o
/tmp/oci8-2.1.4/oci8.c:36:28: fatal error: zend_smart_str.h: No such file or directory
#include "zend_smart_str.h"
^
compilation terminated.
make: *** [oci8.lo] Error 1
Please help!! Thanks much.
14.04 php7
add a comment |
I am trying to install oci8 using "pecl install oci8" command but getting error as -
fatal error: zend_smart_str.h: No such file or directory
#include "zend_smart_str.h"
following are my system details -
1.ubuntu 14.04
2.php 7.0.17-2+deb.sury.org~trusty+1
steps I followed -
download instantclient-basic-linux-12.2.0.1.0.zip
download instantclient-sdk-linux.x64-12.2.0.1.0.zip
- create dir in /opt/oracle
- extract both zip files
- run pecl install oci8 command
Outout -
/bin/bash /tmp/oci8-2.1.4/libtool --mode=compile cc -I. -I/tmp/oci8-2.1.4 -DPHP_ATOM_INC -I/tmp/oci8-2.1.4/include -I/tmp/oci8-2.1.4/main -I/tmp/oci8-2.1.4 -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/opt/oracle/instantclient_12_2/sdk/include -DHAVE_CONFIG_H -g -O2 -c /tmp/oci8-2.1.4/oci8.c -o oci8.lo
libtool: compile: cc -I. -I/tmp/oci8-2.1.4 -DPHP_ATOM_INC -I/tmp/oci8-2.1.4/include -I/tmp/oci8-2.1.4/main -I/tmp/oci8-2.1.4 -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/opt/oracle/instantclient_12_2/sdk/include -DHAVE_CONFIG_H -g -O2 -c /tmp/oci8-2.1.4/oci8.c -fPIC -DPIC -o .libs/oci8.o
/tmp/oci8-2.1.4/oci8.c:36:28: fatal error: zend_smart_str.h: No such file or directory
#include "zend_smart_str.h"
^
compilation terminated.
make: *** [oci8.lo] Error 1
Please help!! Thanks much.
14.04 php7
add a comment |
I am trying to install oci8 using "pecl install oci8" command but getting error as -
fatal error: zend_smart_str.h: No such file or directory
#include "zend_smart_str.h"
following are my system details -
1.ubuntu 14.04
2.php 7.0.17-2+deb.sury.org~trusty+1
steps I followed -
download instantclient-basic-linux-12.2.0.1.0.zip
download instantclient-sdk-linux.x64-12.2.0.1.0.zip
- create dir in /opt/oracle
- extract both zip files
- run pecl install oci8 command
Outout -
/bin/bash /tmp/oci8-2.1.4/libtool --mode=compile cc -I. -I/tmp/oci8-2.1.4 -DPHP_ATOM_INC -I/tmp/oci8-2.1.4/include -I/tmp/oci8-2.1.4/main -I/tmp/oci8-2.1.4 -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/opt/oracle/instantclient_12_2/sdk/include -DHAVE_CONFIG_H -g -O2 -c /tmp/oci8-2.1.4/oci8.c -o oci8.lo
libtool: compile: cc -I. -I/tmp/oci8-2.1.4 -DPHP_ATOM_INC -I/tmp/oci8-2.1.4/include -I/tmp/oci8-2.1.4/main -I/tmp/oci8-2.1.4 -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/opt/oracle/instantclient_12_2/sdk/include -DHAVE_CONFIG_H -g -O2 -c /tmp/oci8-2.1.4/oci8.c -fPIC -DPIC -o .libs/oci8.o
/tmp/oci8-2.1.4/oci8.c:36:28: fatal error: zend_smart_str.h: No such file or directory
#include "zend_smart_str.h"
^
compilation terminated.
make: *** [oci8.lo] Error 1
Please help!! Thanks much.
14.04 php7
I am trying to install oci8 using "pecl install oci8" command but getting error as -
fatal error: zend_smart_str.h: No such file or directory
#include "zend_smart_str.h"
following are my system details -
1.ubuntu 14.04
2.php 7.0.17-2+deb.sury.org~trusty+1
steps I followed -
download instantclient-basic-linux-12.2.0.1.0.zip
download instantclient-sdk-linux.x64-12.2.0.1.0.zip
- create dir in /opt/oracle
- extract both zip files
- run pecl install oci8 command
Outout -
/bin/bash /tmp/oci8-2.1.4/libtool --mode=compile cc -I. -I/tmp/oci8-2.1.4 -DPHP_ATOM_INC -I/tmp/oci8-2.1.4/include -I/tmp/oci8-2.1.4/main -I/tmp/oci8-2.1.4 -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/opt/oracle/instantclient_12_2/sdk/include -DHAVE_CONFIG_H -g -O2 -c /tmp/oci8-2.1.4/oci8.c -o oci8.lo
libtool: compile: cc -I. -I/tmp/oci8-2.1.4 -DPHP_ATOM_INC -I/tmp/oci8-2.1.4/include -I/tmp/oci8-2.1.4/main -I/tmp/oci8-2.1.4 -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/opt/oracle/instantclient_12_2/sdk/include -DHAVE_CONFIG_H -g -O2 -c /tmp/oci8-2.1.4/oci8.c -fPIC -DPIC -o .libs/oci8.o
/tmp/oci8-2.1.4/oci8.c:36:28: fatal error: zend_smart_str.h: No such file or directory
#include "zend_smart_str.h"
^
compilation terminated.
make: *** [oci8.lo] Error 1
Please help!! Thanks much.
14.04 php7
14.04 php7
asked Apr 19 '17 at 9:44
Sachin VairagiSachin Vairagi
10112
10112
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
- php 7.0.17-2+deb.sury.org~trusty+1
sudo apt-get install php7.0-dev
Provides /usr/include/php/20151012/Zend/zend_smart_str.h
okay let me check it and will update. Thank you!!
– Sachin Vairagi
Apr 21 '17 at 8:10
sorry it didn't work, however I have resolved it by downloading lower version - instantclient-basic-linux.x64-12.1.0.1.0.zip and instantclient-sdk-linux.x64-12.1.0.1.0.zip. Thanks much for your reply.
– Sachin Vairagi
Apr 26 '17 at 5:01
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f906558%2ffatal-error-zend-smart-str-h-no-such-file-or-directory%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
- php 7.0.17-2+deb.sury.org~trusty+1
sudo apt-get install php7.0-dev
Provides /usr/include/php/20151012/Zend/zend_smart_str.h
okay let me check it and will update. Thank you!!
– Sachin Vairagi
Apr 21 '17 at 8:10
sorry it didn't work, however I have resolved it by downloading lower version - instantclient-basic-linux.x64-12.1.0.1.0.zip and instantclient-sdk-linux.x64-12.1.0.1.0.zip. Thanks much for your reply.
– Sachin Vairagi
Apr 26 '17 at 5:01
add a comment |
- php 7.0.17-2+deb.sury.org~trusty+1
sudo apt-get install php7.0-dev
Provides /usr/include/php/20151012/Zend/zend_smart_str.h
okay let me check it and will update. Thank you!!
– Sachin Vairagi
Apr 21 '17 at 8:10
sorry it didn't work, however I have resolved it by downloading lower version - instantclient-basic-linux.x64-12.1.0.1.0.zip and instantclient-sdk-linux.x64-12.1.0.1.0.zip. Thanks much for your reply.
– Sachin Vairagi
Apr 26 '17 at 5:01
add a comment |
- php 7.0.17-2+deb.sury.org~trusty+1
sudo apt-get install php7.0-dev
Provides /usr/include/php/20151012/Zend/zend_smart_str.h
- php 7.0.17-2+deb.sury.org~trusty+1
sudo apt-get install php7.0-dev
Provides /usr/include/php/20151012/Zend/zend_smart_str.h
answered Apr 19 '17 at 21:32
Knud LarsenKnud Larsen
1,596167
1,596167
okay let me check it and will update. Thank you!!
– Sachin Vairagi
Apr 21 '17 at 8:10
sorry it didn't work, however I have resolved it by downloading lower version - instantclient-basic-linux.x64-12.1.0.1.0.zip and instantclient-sdk-linux.x64-12.1.0.1.0.zip. Thanks much for your reply.
– Sachin Vairagi
Apr 26 '17 at 5:01
add a comment |
okay let me check it and will update. Thank you!!
– Sachin Vairagi
Apr 21 '17 at 8:10
sorry it didn't work, however I have resolved it by downloading lower version - instantclient-basic-linux.x64-12.1.0.1.0.zip and instantclient-sdk-linux.x64-12.1.0.1.0.zip. Thanks much for your reply.
– Sachin Vairagi
Apr 26 '17 at 5:01
okay let me check it and will update. Thank you!!
– Sachin Vairagi
Apr 21 '17 at 8:10
okay let me check it and will update. Thank you!!
– Sachin Vairagi
Apr 21 '17 at 8:10
sorry it didn't work, however I have resolved it by downloading lower version - instantclient-basic-linux.x64-12.1.0.1.0.zip and instantclient-sdk-linux.x64-12.1.0.1.0.zip. Thanks much for your reply.
– Sachin Vairagi
Apr 26 '17 at 5:01
sorry it didn't work, however I have resolved it by downloading lower version - instantclient-basic-linux.x64-12.1.0.1.0.zip and instantclient-sdk-linux.x64-12.1.0.1.0.zip. Thanks much for your reply.
– Sachin Vairagi
Apr 26 '17 at 5:01
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f906558%2ffatal-error-zend-smart-str-h-no-such-file-or-directory%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown