Re: /usr/libexec/elf/ld: cannot find -lpq - Mailing list pgsql-interfaces

From Peter Eisentraut
Subject Re: /usr/libexec/elf/ld: cannot find -lpq
Date
Msg-id Pine.LNX.4.30.0204041459130.683-100000@peter.localdomain
Whole thread Raw
In response to /usr/libexec/elf/ld: cannot find -lpq  ("Eduardo Kotujansky" <eduardo@complex.com.br>)
List 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



pgsql-interfaces by date:

Previous
From: "Eduardo Kotujansky"
Date:
Subject: /usr/libexec/elf/ld: cannot find -lpq
Next
From: Didier Bretin
Date:
Subject: pgaccess and libtcl