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@hub.org secondary: scrappy@{freebsd|postgresql}.org