/usr/bin/ld: cannot find [...] when compiling

From: "Janek Sendrowski" <janek12(at)web(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: /usr/bin/ld: cannot find [...] when compiling
Date: 2013-11-24 15:31:33
Message-ID: trinity-b1b29b5b-8e02-451d-aff1-95e2929d3e75-1385307093657@3capp-webde-bs45
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 style="font-family: Verdana;font-size: 12.0px;">
<div>
<div>Hi,</div>

<div>&nbsp;</div>

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

<div>
<div>PROGRAM = test<br/>
DATA = test.c<br/>
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 (#include &quot;postgres.h&quot;), 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></div></body></html>

Attachment Content-Type Size
unknown_filename text/html 889 bytes

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2013-11-24 16:37:37 Re: /usr/bin/ld: cannot find [...] when compiling
Previous Message Kevin Grittner 2013-11-24 15:21:09 Re: Query runs slow