"Janek Sendrowski" <jane...@web.de> writes:
> <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>

[ please don't post html-only mail to the PG lists ]

Where did you get your Postgres installation from?  It looks like it was
configured to be built with a bunch of libraries that you don't have
installed, so I'm guessing it wasn't self-built.

The path of least resistance would be to install libxslt-devel,
libxml2-devel, pam-devel, libedit-devel, etc (or whatever those packages
are named on your platform), so as to match the build environment that
the Postgres package is expecting.

                        regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to