Re: /usr/libexec/elf/ld: cannot find -lpq

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Eduardo Kotujansky <eduardo(at)complex(dot)com(dot)br>
Cc: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: /usr/libexec/elf/ld: cannot find -lpq
Date: 2002-04-04 20:00:15
Message-ID: Pine.LNX.4.30.0204041459130.683-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Didier Bretin 2002-04-05 06:36:29 pgaccess and libtcl
Previous Message Eduardo Kotujansky 2002-04-04 19:01:36 /usr/libexec/elf/ld: cannot find -lpq