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

Agent 2 compilation issue when using --with-libpcre2

XMLWordPrintable

    • Sprint 84 (Jan 2022)
    • 0.5

      Steps to reproduce:

      Compile Agent 2 with enabled --with-libpcre2 option.

      Result:

      go: downloading golang.org/x/text v0.3.3
      # zabbix.com/pkg/zbxlib
      /usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lpcre
      collect2: error: ld returned 1 exit status
      make[2]: *** [Makefile:619: zabbix.com/cmd/zabbix_agent2] Error 2
      make[1]: *** [Makefile:511: all-recursive] Error 1
      make: *** [Makefile:546: all-recursive] Error 1
      

      Expected:

      Compilation succeeds.

            ssimonenko Sergey Simonenko (Inactive)
            ssimonenko Sergey Simonenko (Inactive)
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: