[ZBX-4069] make install - breaking in a LDAP & Oracle environment Created: 2011 Aug 24 Updated: 2017 May 30 Resolved: 2016 Mar 14 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Installation (I), Server (S) |
Affects Version/s: | 1.8.7rc1, 3.0.0alpha5 |
Fix Version/s: | 3.0.0beta2 |
Type: | Incident report | Priority: | Major |
Reporter: | João Figueiredo | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 1 |
Labels: | installation, oracle | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Linux, RHEL5, Oracle 11G |
Issue Links: |
|
Description |
make install'ing the the source code returns Making install in zbxcrypto make[3]: Entering directory `/opt/zabbix/zabbix-1.8.7rc1/src/libs/zbxcrypto' 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 -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.c In file included from ../../../include/sysinc.h:330, 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 while ./configure finished flawlessly with these flags: ./configure exec_prefix=/opt/zabbix --prefix=/opt/zabbix --with-oracle --with-net-snmp --with-libcurl --with-jabber --with-openipmi --with-ldap --enable-server --with-oracle-include=/usr/include/oracle/11.2/client64 --with-oracle-lib=/usr/lib/oracle/11.2/client64/lib returning at the end, Linker flags: -rdynamic -L/usr/lib -lldap -llber -L/usr/lib/oracle/11.2/client64/lib -liksemel -L/usr/kerberos/lib64 -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz -L/usr/lib64 -L/usr/lib64 -lnetsnmp -lcrypto -lm -L/usr/lib64/lib -lwrap -lcrypto -L/usr/lib64 -L/usr/lib64 -lnetsnmp -lcrypto -lm -L/usr/lib64/lib -lwrap -lcrypto -L/usr/lib Libraries: -lm -lresolv -lclntsh -lnnz11 -liksemel -lcurl -lnetsnmp -lOpenIPMI -lOpenIPMIposix but when make install'ing the upper error was thrown. |
Comments |
Comment by João Figueiredo [ 2011 Aug 24 ] |
The only post found discussing this was the late 2010, |
Comment by João Figueiredo [ 2011 Sep 27 ] |
This is still present in pre-zabbix-1.8.8.x-21940 "error: redefinition of ‘struct berval’ " |
Comment by Marcus Oliveira [ 2011 Dec 12 ] |
The problem is still present on zabbix-1.9.8. Any news on this thread ? Thanks |
Comment by richlv [ 2012 Jan 11 ] |
might be related to |
Comment by Peter Schmeisser [ 2012 Oct 03 ] |
is there an ldap.h under $ORACLE_HOME? and it works |
Comment by Ronald Rood [ 2015 Mar 12 ] |
Still an issue in 2.4.4. |
Comment by Viktors Tjarve [ 2016 Jan 20 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-4069 |
Comment by Andris Zeila [ 2016 Jan 26 ] |
Successfully tested, I added a comment in 57980, please review viktors.tjarve Looks good thanks. |
Comment by Viktors Tjarve [ 2016 Jan 29 ] |
Released in:
|
Comment by Glebs Ivanovskis (Inactive) [ 2016 Feb 09 ] |
Header include path of the database client library disappeared from configure script final summary ("Compiler flags"), but this issue will be fixed in |