[asterisk-dev] The PGSQL installation appears to be missing or broken.

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Thu Jun 11 23:55:11 CDT 2009


On Thursday 11 June 2009 18:29:57 Joel Jn-Francois wrote:
> Hi guys,
>
> I am using Centos 5 (64 bits) and asterisk 1.6.1 and I am trying to
> configure asterisk to use postgresql.  I have installed all the necessary
> postgresql files and postgres seem to be working fine.  Here are the
> postgres files I have installed successfully using yum.:
>
> postgresql-server-8.1.11-1.el5_1.1
> postgresql-libs-8.1.11-1.el5_1.1
> postgresql-8.1.11-1.el5_1.1
> postgresql-devel-8.1.11-1.el5_1.1
> postgresql-libs-8.1.11-1.el5_1.1
> postgresql-devel-8.1.11-1.el5_1.1
>
> I am using the following commands to configure asterisk with postgres.
> However, I keep getting an error "The PGSQL installation appears to be
> missing or broken."
>
> ./configure --with-postgres
>
> or
>
> ./configure --with-postgres=/usr/
>
> checking for mandatory modules:  PGSQL... fail
> The PGSQL installation appears to be missing or broken.
>
> Can someone tell me what I am doing wrong.

Check the architecture of the packages you installed.  CentOS has a rather
large bug in package management that allows i386 (32-bit) packages to match
dependencies for x86_64 packages.  This all appears fine until you try using
those packages, and you'll get a warning similar to this.

BTW, this question was a usage question and should have been asked on the
asterisk-users list.  This list is for development discussions about the
Asterisk code itself, not for usage questions like this one.

-- 
Tilghman



More information about the asterisk-dev mailing list