Open Althenar opened 11 years ago
I have the same problem, too
I have the same issue on fedora 20
There appear to be at least one earlier thread relating to this (e.g., #13)
After changing the buildenv to Debug and rebuilding, narrowed the issue down to the getString() method in connection.cpp:
col->name = metadata.getString(oracle::occi::MetaData::ATTR_NAME);
A cursory Google search establishes that this is a known occi issue based on compiler migration during the 10 environment:
https://community.oracle.com/thread/572397?start=0&tstart=0 https://community.oracle.com/message/1396811
Subsequently downloaded the 10.2.0.5 occi libraries from Oracle via:
http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html
however, the embedded .so continues to have a dependence on libstdc++.so.5:
$ ldd libocci.so.10.1
linux-vdso.so.1 => (0x00007fff71bff000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x00007f55b30a4000)
libm.so.6 => /lib/libm.so.6 (0x00007f55b2e21000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f55b2c09000)
libc.so.6 => /lib/libc.so.6 (0x00007f55b2882000)
/lib64/ld-linux-x86-64.so.2 (0x00007f55b35cc000)
Another thread seems to suggest that the x86_64 based on gcc3.4.3 exists in the 10.2.0.4 patch
https://community.oracle.com/message/4543974
However, after downloading the patch and resetting the symbolic link, the .so in the patch is likewise not x86_64:
ln -s libocci10_343.so.10.1 libocci.so.10.1 Error: libocci.so.10.1: wrong ELF class: ELFCLASS32
The next possible approach is to locate and recompile occi for _64 via:
http://docs.oracle.com/cd/B19306_01/install.102/b25400/post_inst_task.htm
Does anyone have an existing x86_64 occi.so for gcc3.4.3?
I'm trying to run node-oracle on CentOS 6.4, however it crashes on executing even a very simple query. My test program is:
If I only establish the connection, the program runs fine, however when I add the query, the result is:
I'm guessing it's an issue with my system libraries, however I have no idea what to do about it. The instantclient installation is fine, as I'm able to run queries through sqlplus. Any help would be appreciated.