[asterisk-users] Asterisk 1.4.4 and Custom Postgres 8.2.4 (checkingfor PQexec in -lpq... no)

Gavin Henry gavin.henry at gmail.com
Tue May 8 05:52:59 MST 2007


On 08/05/07, Bruce McAlister <bruce.mcalister at blueface.ie> wrote:
> Hi Gavin,
>
> I don't know if this will help, but can you check to see if you have libtool
> installed?
>
> I had a similar issue with unixodbc, and once I installed libtool, it
> rectified the issue.
>
> Once libtool is installed, re-run configure and it should hopefully work.

Digging in config.log revealed that I hadn't run ldconfig and linked
some other custom libs correctly.

All working now and contributed back missing files/docs etc.:

http://bugs.digium.com/view.php?id=9676

Gavin

>
> Thanks
> Bruce
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Gavin Henry
> Sent: 05 May 2007 22:31
> To: asterisk-users at lists.digium.com
> Subject: [asterisk-users] Asterisk 1.4.4 and Custom Postgres 8.2.4
> (checkingfor PQexec in -lpq... no)
>
> Dear All,
>
> Why does my configure fail like so:
>
> checking for pg_config... /usr/local/pgsql/8.2.4/bin/pg_config
> checking for PQexec in -lpq... no
> configure: ***
> configure: *** The PostgreSQL installation on this system appears to be
> broken.
> configure: *** Either correct the installation, or run configure
> configure: *** including --without-postgres
>
>
> Configure options are:
>
> env CC=/usr/local/bin/gcc ./configure --with-ssl=/usr/local/ssl
> --with-postgres=/usr/local/pgsql/8.2.4
>
> configure has found pg_config, what more does it need?
>
>
> I even tried:
>
> env CC=/usr/local/bin/gcc CPPFLAGS="-I/usr/local/pgsql/8.2.4/include" \
> LDFLAGS="-L/usr/local/pgsql/8.2.4/lib" \
> LD_LIBRARY_PATH="/usr/local/pgsql/8.2.4/lib" ./configure
> --with-ssl=/usr/local/ssl --with-postgres=/usr/local/pgsql/8.2.4
>
>
> Thanks,
>
> Gavin.
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>


More information about the asterisk-users mailing list