pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
php to pgsql question
2+ messages / 2 participants
[nested] [flat]

* php to pgsql question
@ 2008-03-04 10:25 li ethan <ethan919@gmail.com>
  2008-03-04 10:32 ` Re: php to pgsql question Leif B. Kristensen <leif@solumslekt.org>
  0 siblings, 1 reply; 2+ messages in thread

From: li ethan @ 2008-03-04 10:25 UTC (permalink / raw)
  To: pgsql-sql

HI guys!
    I've been encounting a problem when I configured PHP to support
Postgres.I think may be someone in here can solve my problem.
    Postgres version is 8.1.4,and the install path is /usr/local/pgsql, PHP
is 4.4.2.
    I use this parameter to configure PHP    --with-pgsql=/usr/local/pgsql
(I also try /usr/local, /usr/local/lib,etc. still do not work)
    when I run make,I get this error message:
    main/internal_functions_cli.lo(.data.rel+0x28): undefined reference to
`pgsql_module_entry'     collect2: ld returned 1 exit status make: ***
[sapi/cli/php] Error 1

  Anyone know what the problem is? And how to solve it?

  Thanks in advance!

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: php to pgsql question
  2008-03-04 10:25 php to pgsql question li ethan <ethan919@gmail.com>
@ 2008-03-04 10:32 ` Leif B. Kristensen <leif@solumslekt.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Leif B. Kristensen @ 2008-03-04 10:32 UTC (permalink / raw)
  To: pgsql-sql

On Tuesday 4. March 2008, li ethan wrote:
>HI guys!
>    I've been encounting a problem when I configured PHP to support
>Postgres.I think may be someone in here can solve my problem.
>    Postgres version is 8.1.4,and the install path is
> /usr/local/pgsql, PHP is 4.4.2.
>    I use this parameter to configure PHP   
> --with-pgsql=/usr/local/pgsql (I also try /usr/local,
> /usr/local/lib,etc. still do not work) when I run make,I get this
> error message:
>    main/internal_functions_cli.lo(.data.rel+0x28): undefined
> reference to `pgsql_module_entry'     collect2: ld returned 1 exit
> status make: *** [sapi/cli/php] Error 1
>
>  Anyone know what the problem is? And how to solve it?
>
>  Thanks in advance!

It's dependent on the libpq library. Do you have that installed?
-- 
Leif Biberg Kristensen | Registered Linux User #338009
http://solumslekt.org/ | Cruising with Gentoo/KDE
My Jazz Jukebox: http://www.last.fm/user/leifbk/



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2008-03-04 10:32 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-03-04 10:25 php to pgsql question li ethan <ethan919@gmail.com>
2008-03-04 10:32 ` Leif B. Kristensen <leif@solumslekt.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox