Re: [INTERFACES] FPK Pascal and Postgres

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Robert Hiltibidal <rob(at)y2k(dot)state(dot)il(dot)us>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] FPK Pascal and Postgres
Date: 1999-09-01 16:26:36
Message-ID: Pine.BSF.4.10.9909011326050.8660-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Wed, 1 Sep 1999, Robert Hiltibidal wrote:

> Morning,
>
> I have been experimenting with the FPK Pascal for linux found at
> http://tfdec1.fys.kuleuven.ac.be/~michael/fpc/ and postgres 6.5.1
>
> I noticed the latest version of FPK includes a postgres unit. Coolnesssss....
>
> I downloaded the postgres tar file from the FPK site and am trying to
> understand how the pascal interface works.
>
> I created a db called robpas. I ran the mkdb program included in the
> tarfile adn it created a table with various email addresses.
>
> So... I know this much is working.
>
> When I run either the testemail or the testpg examples I get the following
> errors:
>
>
> /y2k/pascal/postgres -- 10:17am
> y2k{rob}192 ->testpg
> testpg: error in loading shared libraries
> libpq.so.2.0: cannot open shared object file: No such file or directory
>
> /y2k/pascal/postgres -- 10:17am
> y2k{rob}193 ->testemail
> testemail: error in loading shared libraries
> libpq.so.2.0: cannot open shared object file: No such file or directory
>
>
> libpq.so.2.0 exists in /y2k/pgsql/lib. I have a symbolic link in
> /usr/local/pgsql that points to /y2k/pgsql. In short they both point to the
> same place. Both /y2l/pgsql/lib and /usr/local/pgsql/lib are listed
> specifically in my path environment.

Did you 'ldconfig' so that the linker knows where to find the library?

Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Robert Hiltibidal 1999-09-01 17:56:59 Re: [INTERFACES] FPK Pascal and Postgres
Previous Message Kevin North 1999-09-01 16:23:40 (no subject)