Hi,<div>I can't seem to build the oracle db module no matter what I try. Has anyone been able to successfully build it and can tell me what I'm doing wrong? I'm not sure exactly where the build steps/requirements are documented so I'm sure there's a step/requirement I'm missing.</div>
<div><br></div><div>Platform is CentOS 5.5:</div><div>Linux version 2.6.18-194.32.1.el5 (<a href="mailto:mockbuild@builder10.centos.org">mockbuild@builder10.centos.org</a>) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48))</div>
<div><br></div><div>When building with oracle instant client 10.2.0.3 I get an error during the link of the util/db_module because of a libstdc++ mismatch (I have libstdc++.so.6 on my system). </div><div><br></div><div><div>
Linking opensips_orasel</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>/usr/bin/ld: warning: libstdc++.so.5, needed by /usr/lib/oracle/<a href="http://10.2.0.3/client64/lib/libocci.so">10.2.0.3/client64/lib/libocci.so</a>, not found (try using -rpath or -rpath-link)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>/usr/lib/oracle/<a href="http://10.2.0.3/client64/lib/libocci.so">10.2.0.3/client64/lib/libocci.so</a>: undefined reference to `std::allocator<char>::~allocator()@GLIBCPP_3.2'</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>/usr/lib/oracle/<a href="http://10.2.0.3/client64/lib/libocci.so">10.2.0.3/client64/lib/libocci.so</a>: undefined reference to `std::basic_string<char, std::char_traits<char>, s</div>
</div><div><br></div><div><br></div><div>If I try to use the oracle 11.2 I get an error where the build doesn't enter and build /modules/db_oracle:</div><div><br></div><div><div>make[1]: Entering directory `/root/osipssrc/opensips/modules/db_flatstore'</div>
<div>Compiling flat_con.c</div><div>Compiling flat_id.c</div><div>Compiling flat_mi.c</div><div>Compiling flat_pool.c</div><div>Compiling flatstore.c</div><div>Compiling flatstore_mod.c</div><div>Linking db_flatstore.so</div>
<div>make[1]: Leaving directory `/root/osipssrc/opensips/modules/db_flatstore'</div><div><br></div><div><br></div><div>make: *** [modules] Error 2</div><div><br></div><div><br></div>Thanks in advance,</div><div><br>Tim<br>
<br>
</div>