Mikael Syska wrote:
> Found the solution on the mailing list after some time....
> 
> But now theres a new problem and the mailinglist aint helping must
> this time, here are the output from the build.sh file.
> 
> ====
> pgsql/dbauthpgsql.o config.o -L/usr/lib/
> -I/usr/local/include/postgresql/ -lpq -lcrypto -lssl
> ld: -lpq: no match
> collect2: ld returned 1 exit status
> *** Error code 1

It seems to me...:

-lpq is linking the postgres library.

>From Makefile.pgsql

PGSQLLIBDIR=/usr/local/pgsql/lib

LIBS = -L$(PGSQLLIBDIR)
LIB = -lpq -lcrypto -lssl


I've no idea what the postgres library is called - I'm a MySQL user, but
find the correct path, modify the appropriate Makefile bit and then try
compiling again.

HTH,

Matt

Reply via email to