Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-4223

not possible to compile zabbix_server --with-ldap && --with-oracle

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.8.8
    • Fix Version/s: None
    • Component/s: Server (S)
    • Environment:
      # uname -a
      Linux it0 2.6.32-5-amd64 #1 SMP Fri Sep 9 20:23:16 UTC 2011 x86_64 GNU/Linux

      cat /etc/debian_version
      6.0.3

      Description

      I report this issue just for case.
      Oracle instant client installed from official RPM packages (basic+devel parts) using alien utility.

      ./configure --enable-server --with-ldap --with-oracle --with-oracle-include=/usr/include/oracle/11.2/client64 --with-oracle-lib=/usr/lib/oracle/11.2/client64/lib
      

      Result is Ok.

      # make
      Making all in src
      make[1]: Entering directory `/zab/zabbix-1.8/src'
      Making all in libs
      make[2]: Entering directory `/zab/zabbix-1.8/src/libs'
      Making all in zbxcrypto
      make[3]: Entering directory `/zab/zabbix-1.8/src/libs/zbxcrypto'
      gcc -DHAVE_CONFIG_H -I. -I../../../include     -g -O2   -I/usr/include/oracle/11.2/client64         -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:212: error: redefinition of 'struct berval'
      make[3]: *** [md5.o] Error 1
      make[3]: Leaving directory `/zab/zabbix-1.8/src/libs/zbxcrypto'
      make[2]: *** [all-recursive] Error 1
      make[2]: Leaving directory `/zab/zabbix-1.8/src/libs'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/zab/zabbix-1.8/src'
      make: *** [all-recursive] Error 1
      

      Without "--with-ldap" option zabbix_server compiles Ok --with-oracle support.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              zalex_ua Oleksii Zagorskyi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: