Re: libpq

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Stephan Bergmann <sb(at)ows(dot)es>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: libpq
Date: 2001-08-24 15:37:57
Message-ID: Pine.LNX.4.30.0108241737350.677-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

  • libpq at 2001-08-24 13:33:39 from Stephan Bergmann

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2001-08-24 15:50:09 Re: Error Codes, JDBC, SQLExceptions
Previous Message Rob Arnold 2001-08-24 15:20:24 Re: problems transfering databases