Hi everyone,  

I've tried to compile the oracle plugin with a more recent oracle client -
which as this commit suggests didn't exist at the time the configure script
was made:  

commit a737ed7416823444715e5987261cbdda7cd571e7
Author: Florian Forster <[email protected]>
Date:   Tue Oct 7 15:38:24 2008 +0200

    Build system: Add a check for the OCI interface and add the oracle
plugin.  

Now it seems, oracle 11 has a different path layout, and needs not just
libclntsh but also libnnz11  

my quickhack was simply to sed this into the configure;  

however, this part of the source suggests that there was a more smart way
with the $ORACLE_HOME/lib/ldflags: 
if test "x$ORACLE_HOME" != "x"
then
    with_oracle_cppflags="-I$ORACLE_HOME/rdbms/public"

    if test -e "$ORACLE_HOME/lib/ldflags"
    then
        with_oracle_libs=`cat "$ORACLE_HOME/lib/ldflags"`
    fi
    #with_oracle_libs="-L$ORACLE_HOME/lib $with_oracle_libs -lclntsh"
    with_oracle_libs="-L$ORACLE_HOME/lib -lclntsh"
fi  

whats the best way to move forward here? get the version with the link file
again? detect for libnz11?  

   

Cheers,  

Wilfried Goesgens
_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to