Ad Widget

Collapse

configure: error: PostgreSQL library not found

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lrinetti
    Junior Member
    • Nov 2009
    • 3

    #1

    configure: error: PostgreSQL library not found

    I'm installing Zabbix 1.6.7 on my Ubuntu 8.04 with:
    - Apache2 2.2.8
    - PHP 5.2.4
    - Postgresql 8.3.8
    following the Zabbix manual everything is ok until the:
    ./configure --enable-server --with-pgsql --with-net-snmp –with-jabber –
    with-libcurl
    that returned:
    configure: error: PostgreSQL library not found
    What may be the origin of the problem ? There is a solution ?

  • exkg
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified Specialist
    • Mar 2007
    • 718

    #2
    You need the develop packages from PGSql.



    []s,
    Luciano
    --
    Luciano Alves
    www.zabbix.com
    Brazil | México | Argentina | Colômbia | Chile
    Zabbix Performance Tuning

    Comment

    • lrinetti
      Junior Member
      • Nov 2009
      • 3

      #3
      Originally posted by exkg
      You need the develop packages from PGSql.



      []s,
      Luciano
      Hi Luciano,
      after installing:
      - postgresql-server-dev-8.3
      - libpgtcl-dev
      the problem is solved.
      Thank You.

      Comment

      • theremin
        Junior Member
        • Apr 2008
        • 1

        #4
        Specifying the full path for pg_config worked for me, in my case Im using Postgres 9.0

        ./configure --enable-server --with-pgsql=/usr/pgsql-9.0/bin/pg_config --with-net-snmp --with-libcurl

        Comment

        Working...