Search Postgresql Archives

Re: undefined symbol PQconnectionNeedsPassword referenced by file pg_ctl.o

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Edmundo Robles L." <erobles@xxxxxxxxxxxxxx> writes:
> Hi, i tried to compile postgres 8.3.13 but  i  got the  next error:
> Undefined                       first referenced
> symbol                              in file
> PQconnectionNeedsPassword           pg_ctl.o
> ERROR: Symbol referencing errors. No output written to pg_ctl

> cc -b elf -O pg_ctl.o  -L../../../src/port -lpgport 
> -L../../../src/interfaces/libpq -lpq -L../../../src/port   -lpgport -lz 
> -lreadline -lsocket -lm  -o pg_ctl

> What library or object i missing???

Apparently you're trying to link against a pre-8.3 version of libpq.
I'd guess the linker is for some reason picking up an old library in
/usr/lib rather than the one in ../../../src/interfaces/libpq (if
indeed there is anything there).

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux