Ad Widget

Collapse

Zabbix-proxy 5 on Centos6 with postgresql

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • falco_null
    Junior Member
    • Jul 2020
    • 1

    #1

    Zabbix-proxy 5 on Centos6 with postgresql

    Hello,

    I am installing Zabbix-proxy 5.0.2 on a Centos6 and Postgresql-9.4 with the following configuration,

    Code:
    # ./configure --enable-proxy --with-postgresql=/usr/pgsql-9.4/bin/pg_config --prefix=/usr/local/zabbix-5.0.2 --with-libcurl --with-libxml2 --with-ssh2
    I launch the "make install" and it flips me this error when it's over,

    Code:
    ../../src/libs/zbxdb/libzbxdb.a(libzbxdb_a-db.o): In function `zbx_db_connect':
    /root/zabbix-5.0.2/src/libs/zbxdb/db.c:748: undefined reference to `PQconnectdbParams'
    /root/zabbix-5.0.2/src/libs/zbxdb/db.c:748: undefined reference to `PQconnectdbParams'
    collect2: ld devolvió el estado de salida 1
    make[3]: *** [zabbix_proxy] Error 1
    make[3]: se sale del directorio `/root/zabbix-5.0.2/src/zabbix_proxy'
    make[2]: *** [all-recursive] Error 1
    make[2]: se sale del directorio `/root/zabbix-5.0.2/src/zabbix_proxy'
    make[1]: *** [all-recursive] Error 1
    make[1]: se sale del directorio `/root/zabbix-5.0.2/src'
    make: *** [all-recursive] Error 1

    Could someone tell me how to compile it?

    Thank you
Working...