Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group