Re: libpq - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: libpq
Date
Msg-id Pine.LNX.4.30.0108241737350.677-100000@peter.localdomain
Whole thread Raw
In response to libpq  (Stephan Bergmann <sb@ows.es>)
List pgsql-general
Stephan Bergmann writes:

> Compiling the following returns me - executing the result.cgi - the
> error:
> ./result.cgi: can't load library 'libpq.so.2'
>
> gcc -lpq -I/usr/include/mysql -I/usr/local/pgsql/include
> -L/usr/local/pgsql/lib -L/usr/lib/mysql program.c
> -o result.cgi -Wall -DUNIX -lmysqlclient -lm
>
> All files are at its places. I use PostgreSQL 7.1.3.
>
> What I'm doing wrong?

You didn't mention what platform you're on.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-general by date:

Previous
From: "Jeff Eckermann"
Date:
Subject: Re: problems transfering databases
Next
From: Rob Arnold
Date:
Subject: Re: problems transfering databases