Re: [HACKERS] pg_connect error

Поиск
Список
Период
Сортировка
От Travis Bauer
Тема Re: [HACKERS] pg_connect error
Дата
Msg-id 20001018132837.A23921@ghost.cs.indiana.edu
обсуждение исходный текст
Ответ на [HACKERS] pg_connect error  (Brian Edginton <edge@aros.net>)
Ответы Re: [HACKERS] pg_connect error  (Larry Rosenman <ler@lerctr.org>)
Список pgsql-general
When you compiles php, did you ./configure with --with-pgsql?  If you did
not compile php explicitly telling it to includ pgsql support, it probably
didn't.

Travis

Brian Edginton (edge@aros.net) wrote:

>
>
> I'm trying to use the php/postgresql interface via my apache server.
> When I try and load a page containing:
>
> <?php $db = pg_connect( "database=mydb owner=me" )
>      or die ( "could not connect" ) ?>
>
> (both the database and owner are valid and tested via psql)
>
> apache complains:
> /usr/libexec/ld.so: Undefined symbol "_PQconnectdb" called from httpd:/usr/lib/apache/modules/libphp4.so at
0x4030a394
>
> I have verified through ldconfig that libpq.so.2.0 is being loaded into hints,
> what am I missing?
>
> Thanks,
>  edge
>


В списке pgsql-general по дате отправления:

Предыдущее
От: Brian Edginton
Дата:
Сообщение: [HACKERS] pg_connect error
Следующее
От: "A farmer using BSD, eh!"
Дата:
Сообщение: Re: 7.1 Release Date