Re: include all the postgres libraries (C)

From: "Janek Sendrowski" <janek12(at)web(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: include all the postgres libraries (C)
Date: 2013-11-22 23:21:23
Message-ID: trinity-c48282cf-7eff-4d99-a65d-7ed41dea3e18-1385162483504@3capp-webde-bs06
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>I think PGXS is, what I&#39;ve been looking for.</div>

<div>&nbsp;</div>

<div>My Makefile looks like this:</div>

<div>
<div>&nbsp;PROGRAM = test<br/>
DATA = test.c<br/>
&nbsp;PG_CONFIG = pg_config<br/>
PGXS := &#36;(shell &#36;(PG_CONFIG) --pgxs)<br/>
include &#36;(PGXS)</div>

<div>&nbsp;</div>
</div>

<div>The file test.c only includes the postgres.h, but I get this error, when compiling:</div>

<div>/usr/bin/ld: cannot find -lxslt<br/>
/usr/bin/ld: cannot find -lxml2<br/>
/usr/bin/ld: cannot find -lpam<br/>
/usr/bin/ld: cannot find -ledit<br/>
collect2: ld returned 1 exit status<br/>
make: *** [test] Error 1</div>

<div>&nbsp;</div>

<div>Does anyone have an idea?</div>

<div>&nbsp;</div>

<div>Janek Sendrowski</div>
</div></div></body></html>

Attachment Content-Type Size
unknown_filename text/html 851 bytes

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ken Tanzer 2013-11-22 23:51:00 Re: Getting non_NULL right-side values on a non-matching join?
Previous Message Bruce Momjian 2013-11-22 23:20:38 Re: [GENERAL] pg_upgrade ?deficiency