pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feed/usr/libexec/elf/ld: cannot find -lpq
2+ messages / 2 participants
[nested] [flat]
* /usr/libexec/elf/ld: cannot find -lpq
@ 2002-04-04 19:01 Eduardo Kotujansky <eduardo@complex.com.br>
2002-04-04 20:00 ` Re: /usr/libexec/elf/ld: cannot find -lpq Peter Eisentraut <peter_e@gmx.net>
0 siblings, 1 reply; 2+ messages in thread
From: Eduardo Kotujansky @ 2002-04-04 19:01 UTC (permalink / raw)
To: pgsql-interfaces
I don“t know if it is about that list, but...there is my problem trying to
compile a C++ app on a FreeBSD machine:
complex# make
make all-recursive
Making all in everestserver
Making all in docs
Making all in en
c++ -g -O2 -o everestserver main.o -lpq
/usr/libexec/elf/ld: cannot find -lpq
*** Error code 1
Stop in /root/rewq/everestserver.
*** Error code 1
Stop in /root/rewq/everestserver.
*** Error code 1
Stop in /root/rewq.
*** Error code 1
Stop in /root/rewq
------------------------
Thanks for any help!
Eduardo
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: /usr/libexec/elf/ld: cannot find -lpq
2002-04-04 19:01 /usr/libexec/elf/ld: cannot find -lpq Eduardo Kotujansky <eduardo@complex.com.br>
@ 2002-04-04 20:00 ` Peter Eisentraut <peter_e@gmx.net>
0 siblings, 0 replies; 2+ messages in thread
From: Peter Eisentraut @ 2002-04-04 20:00 UTC (permalink / raw)
To: Eduardo Kotujansky <eduardo@complex.com.br>; +Cc: pgsql-interfaces
Eduardo Kotujansky writes:
> complex# make
> make all-recursive
> Making all in everestserver
> Making all in docs
> Making all in en
> c++ -g -O2 -o everestserver main.o -lpq
> /usr/libexec/elf/ld: cannot find -lpq
> *** Error code 1
You are missing an -L option that points the linker to the directory where
libpq is installed.
For details, read the documentation:
http://www.us.postgresql.org/users-lounge/docs/7.2/postgres/libpq-build.html
--
Peter Eisentraut peter_e@gmx.net
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-04-04 20:00 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-04-04 19:01 /usr/libexec/elf/ld: cannot find -lpq Eduardo Kotujansky <eduardo@complex.com.br>
2002-04-04 20:00 ` Peter Eisentraut <peter_e@gmx.net>
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