From: | Ben Clewett <B(dot)Clewett(at)roadrunner(dot)uk(dot)com> |
---|---|
To: | pgsql-novice(at)postgresql(dot)org |
Subject: | Sample code |
Date: | 2003-07-22 16:30:26 |
Message-ID: | 3F1D66A2.8000904@roadrunner.uk.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Novice,
I was looking at some sample code on a download of psql 7.3.3 today:
src/test/examples
I found they would not link. Missing all psql API calls. It was only
after I added to the following line to the local Makefile that they
compiled and worked:
LDLIBS += -L/usr/local/pgsql/lib -lpq
There is obviously something very wrong for me to need to add this line,
however, I am not familiar with the distribution to know where the error
is. But this is a new clean instalation, so I dought it's anything I
have done.
This is an installation onto a new SuSE 8.2, after removing the native
SuSE PostgreSQL server.
Hope this is of some use,
Ben
From | Date | Subject | |
---|---|---|---|
Next Message | Saulius Skruibis | 2003-07-22 16:33:11 | localization |
Previous Message | Ravi AVK | 2003-07-22 14:59:22 | Need clarifications...... |