| 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: | Whole Thread | Raw Message | 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> </div>
<div>My Makefile looks like this:</div>
<div>
<div>PROGRAM = test<br/>
DATA = test.c<br/>
PG_CONFIG = pg_config<br/>
PGXS := $(shell $(PG_CONFIG) --pgxs)<br/>
include $(PGXS)</div>
<div> </div>
</div>
<div>The file test.c only includes the postgres.h (#include "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> </div>
<div>Does anyone have an idea?</div>
<div> </div>
<div>Janek Sendrowski</div>
</div>
</div></div></body></html>
| Attachment | Content-Type | Size | 
|---|---|---|
| unknown_filename | text/html | 889 bytes | 
| 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 |