При компилляции Zabbix 1.4.6 (и других версий) выводятся следующие ошибки:
then mv -f ".deps/zabbix_server-server.Tpo" ".deps/zabbix_server-server.Po"; else rm -f ".deps/zabbix_server-server.Tpo"; exit 1; fi gcc -g -O2 -I/usr/include/pgsql -I/usr/local/include -I/usr/include/gdbm -I/usr/lib/perl5/i386-linux/CORE -I. -I/usr/local/include -o zabbix_server -L/usr/lib -lpq -lnetsnmp -lcrypto -lnetsnmp -lcrypto zabbix_server-evalfunc.o zabbix_server-expression.o zabbix_server-actions.o zabbix_server-operations.o zabbix_server-events.o zabbix_server-zlog.o zabbix_server-functions.o zabbix_server-server.o alerter/libzbxalerter.a discoverer/libzbxdiscoverer.a pinger/libzbxpinger.a poller/libzbxpoller.a housekeeper/libzbxhousekeeper.a timer/libzbxtimer.a trapper/libzbxtrapper.a nodewatcher/libzbxnodewatcher.a utils/libzbxutils.a httppoller/libzbxhttppoller.a watchdog/libzbxwatchdog.a ../../src/libs/zbxsysinfo/libzbxserversysinfo.a ../../src/libs/zbxsysinfo/linux/libspecsysinfo.a ../../src/libs/zbxsysinfo/common/libcommonsysinfo.a ../../src/libs/zbxsysinfo/simple/libsimplesysinfo.a ../../src/libs/zbxlog/libzbxlog.a ../../src/libs/zbxnix/libzbxnix.a ../../src/libs/zbxsys/libzbxsys.a ../../src/libs/zbxconf/libzbxconf.a ../../src/libs/zbxemail/libzbxemail.a ../../src/libs/zbxsms/libzbxsms.a ../../src/libs/zbxdbhigh/libzbxdbhigh.a ../../src/libs/zbxdb/libzbxdb.a ../../src/libs/zbxcommon/libzbxcommon.a ../../src/libs/zbxcrypto/libzbxcrypto.a ../../src/libs/zbxcomms/libzbxcomms.a -lcurl -lnetsnmp -lm -lresolv ../../src/libs/zbxdb/libzbxdb.a(db.o): In function `zbx_db_vselect': /usr/src/zabbix-1.4.6/src/libs/zbxdb/db.c:695: undefined reference to `PQexec' /usr/src/zabbix-1.4.6/src/libs/zbxdb/db.c:705: undefined reference to `PQresultStatus' /usr/src/zabbix-1.4.6/src/libs/zbxdb/db.c:587: undefined reference to `PQgetvalue' /usr/src/zabbix-1.4.6/src/libs/zbxdb/db.c:588: undefined reference to `PQftype' ../../src/libs/zbxdb/libzbxdb.a(db.o): In function `PG_DBfree_result': /usr/src/zabbix-1.4.6/src/libs/zbxdb/db.c:530: undefined reference to `PQclear' ../../src/libs/zbxdb/libzbxdb.a(db.o): In function `zbx_db_insert_id': /usr/src/zabbix-1.4.6/src/libs/zbxdb/db.c:790: undefined reference to `PQgetvalue' ../../src/libs/zbxdb/libzbxdb.a(db.o): In function `zbx_db_vexecute': /usr/src/zabbix-1.4.6/src/libs/zbxdb/db.c:431: undefined reference to `PQexec' /usr/src/zabbix-1.4.6/src/libs/zbxdb/db.c:439: undefined reference to `PQresultStatus' /usr/src/zabbix-1.4.6/src/libs/zbxdb/db.c:442: undefined reference to `PQresultErrorMessage' /usr/src/zabbix-1.4.6/src/libs/zbxdb/db.c:442: undefined reference to `PQresultStatus' /usr/src/zabbix-1.4.6/src/libs/zbxdb/db.c:442: undefined reference to `PQresStatus' /usr/src/zabbix-1.4.6/src/libs/zbxdb/db.c:452: undefined reference to `PQclear' /usr/src/zabbix-1.4.6/src/libs/zbxdb/db.c:450: undefined reference to `PQntuples' ../../src/libs/zbxdb/libzbxdb.a(db.o): In function `zbx_db_connect': /usr/src/zabbix-1.4.6/src/libs/zbxdb/db.c:137: undefined reference to `PQsetdbLogin' /usr/src/zabbix-1.4.6/src/libs/zbxdb/db.c:142: undefined reference to `PQstatus' /usr/src/zabbix-1.4.6/src/libs/zbxdb/db.c:137: undefined reference to `PQsetdbLogin' /usr/src/zabbix-1.4.6/src/libs/zbxdb/db.c:144: undefined reference to `PQerrorMessage' ../../src/libs/zbxdb/libzbxdb.a(db.o): In function `zbx_db_close': /usr/src/zabbix-1.4.6/src/libs/zbxdb/db.c:53: undefined reference to `PQfinish' collect2: ld returned 1 exit status make[3]: *** [zabbix_server] Error 1 make[3]: Leaving directory `/usr/src/zabbix-1.4.6/src/zabbix_server' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/usr/src/zabbix-1.4.6/src/zabbix_server' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/src/zabbix-1.4.6/src' make: *** [install-recursive] Error 1
Конфигурирование проходит без проблем... В чем может быть проблема? Файлы постгреса есть. Заранее спасибо.