Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 1A418476059 for ; Mon, 20 Jan 2003 19:19:10 -0500 (EST) Received: from smurfer.demon.nl (minas-2.demon.nl [212.238.194.105]) by postgresql.org (Postfix) with ESMTP id BF980475EEB for ; Mon, 20 Jan 2003 19:19:08 -0500 (EST) Received: from depastor.minas.demon.nl ([192.168.1.1]) by smurfer.demon.nl (8.11.4/8.11.4) with ESMTP id h0LCJlH00872 for ; Tue, 21 Jan 2003 13:19:47 +0100 Message-Id: <5.1.0.14.0.20030121011119.00b32d78@192.168.1.3> X-Sender: michiel@192.168.1.3 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 21 Jan 2003 01:18:27 +0100 To: pgsql-interfaces@postgresql.org From: Michiel Lange Subject: Problems compiling with libpq Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/86 X-Sequence-Number: 3586 I know I am being silly, but it is late and I cannot recall what the solution was... When I write a C program with #include or #include "libpq-fe.h" and compile with -llibpq turned on, I get the message that the system cannot find libpq-fe.h I know it is me being really silly, for the headerfile is where I expected it: /usr/local/pgsql/include/libpg-fe.h The solution should be to tell gcc where to find this file... even better would be: to include the dir to the include-files path... but there it stops for me, anyone who can help me out? Gcc 2.95.3, Slackware 8.1, PostgeSQL 7.3 ordinary users as well as root should be able to compile it. (some little voice in my head told me that it might differ for root) tia, Michiel