On 7/18/12 1:29 PM, "Thiago Anderson" <[email protected]> wrote:

>I try compile oracle + rsyslog, and not start which error :
>
>Jul 18 15:04:25 rsyslogprd rsyslogd-2066: could not load module
>'/usr/local/lib/rsyslog/omoracle.so', dlopen:
>/usr/local/lib/rsyslog/omoracle.so: undefined symbol: OCIAttrSet

OCIAttrSet is provided by libocci.so, which is part of the Oracle Instant
Client as far as I can tell.

Do you have the Oracle instantclient installed?  If so, make sure the
directory containing libocci.so.* is in your library path.  On my RHEL
system, I have the 10g instantclient installed, and the libraries it
installs are in /usr/lib/oracle/10.2.0.4/client64/lib/.

So, I add a new file under /etc/ld.so.conf.d/ called
oracle-instantclient.conf, and paste in the following one line:

/usr/lib/oracle/10.2.0.4/client64/lib/

Then, I run sudo ldconfig to reconfigure the dynamic linker's cache to
detect the new directory.

I don't use the omoracle module, so I don't know if that specifically
solves your problem, but I know it solves other Oracle dependency issues
for me.  Let us know if it works.

-Abby

>
>
>I try compile rsyslogd 4,5 and 6 .
>
>Can help?
>-- 
>Thiago Anderson
>_______________________________________________
>rsyslog mailing list
>http://lists.adiscon.net/mailman/listinfo/rsyslog
>http://www.rsyslog.com/professional-services/
>What's up with rsyslog? Follow https://twitter.com/rgerhards

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards

Reply via email to