Hello,
I have installed and used Zabbix in the past, but this is my first time attempting to use it with an Oracle database. My DBA provided me with the Oracle 11.2 Instant Client libraries and headers, and I've run into a problem compiling.
When I compile using --with-mysql --with-ldap --enable-server --enable-agent, the program compiles successfully. When I compile using --with-oracle-lib=/usr/lib/oracle/11.2/client64/lib --with-oracle-include=/usr/include/oracle/11.2/client64 --enable-server --enable-agent, it will compile successfully (haven't tested it yet). When I compile using the oracle options and --with-ldap together, I receive the following compile-time error:
gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/include/oracle/11.2/client64 -I/usr/include/rpm -I/usr/local/include -I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -I. -I/usr/include/net-snmp -I/usr/include -I/usr/include -I/usr/include -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.c
In file included from ../../../include/sysinc.h:321,
from ../../../include/common.h:23,
from md5.c:54:
/usr/include/lber.h:204: error: redefinition of ‘struct berval’
make[3]: *** [md5.o] Error 1
make[3]: Leaving directory `/usr/share/zabbix/src/zabbix-1.8.3/src/libs/zbxcrypto'
Am I missing something obvious?
Thanks.
I have installed and used Zabbix in the past, but this is my first time attempting to use it with an Oracle database. My DBA provided me with the Oracle 11.2 Instant Client libraries and headers, and I've run into a problem compiling.
When I compile using --with-mysql --with-ldap --enable-server --enable-agent, the program compiles successfully. When I compile using --with-oracle-lib=/usr/lib/oracle/11.2/client64/lib --with-oracle-include=/usr/include/oracle/11.2/client64 --enable-server --enable-agent, it will compile successfully (haven't tested it yet). When I compile using the oracle options and --with-ldap together, I receive the following compile-time error:
gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/include/oracle/11.2/client64 -I/usr/include/rpm -I/usr/local/include -I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -I. -I/usr/include/net-snmp -I/usr/include -I/usr/include -I/usr/include -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.c
In file included from ../../../include/sysinc.h:321,
from ../../../include/common.h:23,
from md5.c:54:
/usr/include/lber.h:204: error: redefinition of ‘struct berval’
make[3]: *** [md5.o] Error 1
make[3]: Leaving directory `/usr/share/zabbix/src/zabbix-1.8.3/src/libs/zbxcrypto'
Am I missing something obvious?
Thanks.

Comment