X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 5A78FD1B4E3 for ; Mon, 22 Sep 2003 16:21:27 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 58679-03 for ; Mon, 22 Sep 2003 13:20:55 -0300 (ADT) Received: from jais.jouy.inra.fr (jais.jouy.inra.fr [138.102.1.17]) by svr1.postgresql.org (Postfix) with ESMTP id 90BACD1CA01 for ; Mon, 22 Sep 2003 13:20:54 -0300 (ADT) Received: from diamant.jouy.inra.fr (localhost [127.0.0.1]) by jais.jouy.inra.fr (8.10.1/8.10.1) with ESMTP id h8MGKqj02292 for ; Mon, 22 Sep 2003 18:20:52 +0200 (MET DST) Received: from pc502jlo (pc502ljo [138.102.3.71]) by diamant.jouy.inra.fr (8.10.1/8.10.1) with SMTP id h8MGKoC22248; Mon, 22 Sep 2003 18:20:50 +0200 (MET DST) Message-ID: <024d01c38125$7d2e8680$4703668a@pc502jlo> From: "Jouneau Luc" To: "Kris Kiger" Cc: "Postgres Admin List" References: <3F6F18F7.4000400@virginia.edu> <3F6F1FFF.7040305@musicrebellion.com> Subject: Re: libpq problem Date: Mon, 22 Sep 2003 18:20:50 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/349 X-Sequence-Number: 10437 Did you set LD_LIBRARY_PATH to locate directory where libpq.so.3 can be found ? (Something like LD_LIBRARY_PATH=$PGHOME/lib:$LD_LIBRARY_PATH) Luc Jouneau ----- Original Message ----- From: "Kris Kiger" To: "Postgres Admin List" Sent: Monday, September 22, 2003 6:14 PM Subject: [ADMIN] libpq problem > I have written a variation of one of the libpq C functions provided with > postgres. It compiles just fine, but when I try to execute the program > it reports the following error: > > ./a.out: error while loading shared libraries: libpq.so.3: cannot open > shared object file: No such file or directory > > I have checked my system and the libpq.so.3 exists and all of its > dependancies are linked. Just curious if anyone has any ideas. Thanks > > Kris > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly >