[OpenSIPS-Users] Can't Get Oracle DB Module to Build
Tim Burke
timdburke at gmail.com
Tue Jan 24 20:12:17 CET 2012
Hi,
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.
Platform is CentOS 5.5:
Linux version 2.6.18-194.32.1.el5 (mockbuild at builder10.centos.org) (gcc
version 4.1.2 20080704 (Red Hat 4.1.2-48))
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).
Linking opensips_orasel
/usr/bin/ld: warning: libstdc++.so.5, needed by /usr/lib/oracle/
10.2.0.3/client64/lib/libocci.so, not found (try using -rpath or
-rpath-link)
/usr/lib/oracle/10.2.0.3/client64/lib/libocci.so: undefined reference to
`std::allocator<char>::~allocator()@GLIBCPP_3.2'
/usr/lib/oracle/10.2.0.3/client64/lib/libocci.so: undefined reference to
`std::basic_string<char, std::char_traits<char>, s
If I try to use the oracle 11.2 I get an error where the build doesn't
enter and build /modules/db_oracle:
make[1]: Entering directory `/root/osipssrc/opensips/modules/db_flatstore'
Compiling flat_con.c
Compiling flat_id.c
Compiling flat_mi.c
Compiling flat_pool.c
Compiling flatstore.c
Compiling flatstore_mod.c
Linking db_flatstore.so
make[1]: Leaving directory `/root/osipssrc/opensips/modules/db_flatstore'
make: *** [modules] Error 2
Thanks in advance,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120124/93985144/attachment.htm>
More information about the Users
mailing list