You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I'm trying to use node-db-oracle but it's not easy T.T
this is the message for my error
node-waf configure build --verbose
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : ok /home/sigyun/Downloads/node_modules
Checking for node prefix : ok /usr/local
Checking for header occi.h : 22:08:34 runner system command -> ['/usr/bin/g++', '-g', '-Wall', '-I/opt/instantclient/sdk/include/', '../test.cpp', '-c', '-o', 'Release/test_1.o']
22:08:35 runner system command -> ['/usr/bin/g++', 'Release/test_1.o', '-o', '/home/sigyun/Downloads/node_modules/db-oracle/build/.conf_check_0/testbuild/Release/testprog', '-L/opt/instantclient', '-locci', '-lclntsh', '-lnnz11']
Missing include files for OCI
/home/sigyun/Downloads/node_modules/db-oracle/wscript:42: error: the configuration failed (see '/home/sigyun/Downloads/node_modules/db-oracle/build/config.log')
and this is config.log
<==
[1/2] �[32mcxx: build/.conf_check_0/test.cpp -> build/.conf_check_0/testbuild/Release/test_1.o
�[0m['/usr/bin/g++', '-g', '-Wall', '-I/opt/instantclient/sdk/include/', '../test.cpp', '-c', '-o', 'Release/test_1.o']
[2/2] �[33mcxx_link: build/.conf_check_0/testbuild/Release/test_1.o -> build/.conf_check_0/testbuild/Release/testprog
�[0m/usr/bin/ld: skipping incompatible /opt/instantclient/libocci.so when searching for -locci
/usr/bin/ld: cannot find -locci
/usr/bin/ld: skipping incompatible /opt/instantclient/libclntsh.so when searching for -lclntsh
/usr/bin/ld: cannot find -lclntsh
/usr/bin/ld: skipping incompatible /opt/instantclient/libnnz11.so when searching for -lnnz11
/usr/bin/ld: cannot find -lnnz11
collect2: ld returned 1 exit status
['/usr/bin/g++', 'Release/test_1.o', '-o', '/home/sigyun/Downloads/node_modules/db-oracle/build/.conf_check_0/testbuild/Release/testprog', '-L/opt/instantclient', '-locci', '-lclntsh', '-lnnz11']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cxx_link test_1.o -> testprog}'Missing include files for OCI
I think it couldn't find include file
like locci / lclntsh and lnnz11
Hi
I'm trying to use node-db-oracle but it's not easy T.T
this is the message for my error
node-waf configure build --verbose
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : ok /home/sigyun/Downloads/node_modules
Checking for node prefix : ok /usr/local
Checking for header occi.h : 22:08:34 runner system command -> ['/usr/bin/g++', '-g', '-Wall', '-I/opt/instantclient/sdk/include/', '../test.cpp', '-c', '-o', 'Release/test_1.o']
22:08:35 runner system command -> ['/usr/bin/g++', 'Release/test_1.o', '-o', '/home/sigyun/Downloads/node_modules/db-oracle/build/.conf_check_0/testbuild/Release/testprog', '-L/opt/instantclient', '-locci', '-lclntsh', '-lnnz11']
Missing include files for OCI
/home/sigyun/Downloads/node_modules/db-oracle/wscript:42: error: the configuration failed (see '/home/sigyun/Downloads/node_modules/db-oracle/build/config.log')
and this is config.log
<==
[1/2] �[32mcxx: build/.conf_check_0/test.cpp -> build/.conf_check_0/testbuild/Release/test_1.o
�[0m['/usr/bin/g++', '-g', '-Wall', '-I/opt/instantclient/sdk/include/', '../test.cpp', '-c', '-o', 'Release/test_1.o']
[2/2] �[33mcxx_link: build/.conf_check_0/testbuild/Release/test_1.o -> build/.conf_check_0/testbuild/Release/testprog
�[0m/usr/bin/ld: skipping incompatible /opt/instantclient/libocci.so when searching for -locci
/usr/bin/ld: cannot find -locci
/usr/bin/ld: skipping incompatible /opt/instantclient/libclntsh.so when searching for -lclntsh
/usr/bin/ld: cannot find -lclntsh
/usr/bin/ld: skipping incompatible /opt/instantclient/libnnz11.so when searching for -lnnz11
/usr/bin/ld: cannot find -lnnz11
collect2: ld returned 1 exit status
['/usr/bin/g++', 'Release/test_1.o', '-o', '/home/sigyun/Downloads/node_modules/db-oracle/build/.conf_check_0/testbuild/Release/testprog', '-L/opt/instantclient', '-locci', '-lclntsh', '-lnnz11']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cxx_link test_1.o -> testprog}'Missing include files for OCI
I think it couldn't find include file
like locci / lclntsh and lnnz11
but I already set OCI_INCLUDE_DIR and OCI_LIB_DIR
declare -x OCI_INCLUDE_DIR="/opt/instantclient/sdk/include/"
declare -x OCI_LIB_DIR="/opt/instantclient"
so, I don't know what to do help me T T
The text was updated successfully, but these errors were encountered: