The ocilib (ocilib-3.12.1-gnu.tar.gz) was downloaded and extracted in
/opt/oracle/ocilib-3.12.1 directory
Here is the command used to configure & install ocilib
$sudo ./configure --with-oracle-home=/opt/app/oracle/product/12.1.0/client_1
snippet of the configuration script
-----------------------------------------
checking for ranlib... (cached) ranlib
checking for OCILIB install path... /usr/local
checking for OCILIB version... v3.12.1
checking for OCILIB options... import: linkage, charset = ansi
checking for Oracle home... defined by option :
/opt/app/oracle/product/12.1.0/client_1
checking for Oracle OCI headers location...
/opt/app/oracle/product/12.1.0/client_1/rdbms/public
checking for Oracle OCI shared lib location...
/opt/app/oracle/product/12.1.0/client_1/lib
checking for Oracle OCI shared lib name... libclntsh.so
checking for OCI shared lib existence... yes
configure: creating ./config.status
config.status: creating README
config.status: creating ocilib.pc
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/html/Makefile
config.status: creating demo/Makefile
config.status: creating demo/Makefile_demo
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
$sudo make
$sudo make install
Let me know if you need any other details.
On Fri, Jul 26, 2013 at 10:02 AM, Michael Friedrich <
michael.friedr...@gmail.com> wrote:
> On 26.07.2013 18:42, Dinesh wrote:
> > I’m getting the below error when I try to configure icinga with
> > oracle. Please help me in resolving the error.
> >
> > checking for ocilib.h... yes
> >
> > checking for ocilib... checking for main in -locilib... no
> >
>
> again - how was ocilib installed, and where is it's default location?
>
> > *configure: error: ERROR - We really need a ocilib to link against*
> >
> > **
> >
> > *Command used: sudo ./configure --with-command-group=icinga-cmd
> > --enable-idoutils --enable-oracle --with-oracle-lib=$ORACLE_HOME/lib*
> >
> > I tried setting the LD_LIBRARY_PATH to the Oracle lib directory. But
> > even then I’m getting this error.
> >
> > Icinga version: 1.9.1
> >
> > OCILIB version... v3.12.1
> >
> > Oracle version: 12c (12.1.0)
> >
> > Please let me know if any other information is required.
> >
> > Regards
> >
> > Dinesh Kumar N.
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > See everything from the browser to the database with AppDynamics
> > Get end-to-end visibility with application monitoring from AppDynamics
> > Isolate bottlenecks and diagnose root cause in seconds.
> > Start your free trial of AppDynamics Pro today!
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> >
> >
> > _______________________________________________
> > icinga-users mailing list
> > icinga-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/icinga-users
>
>
> --
> DI (FH) Michael Friedrich
>
> mail: michael.friedr...@gmail.com
> twitter: https://twitter.com/dnsmichi
> jabber: dnsmi...@jabber.ccc.de
> irc: irc.freenode.net/icinga dnsmichi
>
> icinga open source monitoring
> position: lead core developer
> url: https://www.icinga.org
>
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users
>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users