FPK Pascal and Postgres

Поиск
Список
Период
Сортировка
От Robert Hiltibidal
Тема FPK Pascal and Postgres
Дата
Msg-id 3.0.6.32.19990901103056.009043b0@y2k.state.il.us
обсуждение исходный текст
Ответы Re: [INTERFACES] FPK Pascal and Postgres  ("Ken J. Wright" <ken@ori-ind.com>)
Re: [INTERFACES] FPK Pascal and Postgres  (The Hermit Hacker <scrappy@hub.org>)
Список pgsql-interfaces
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.

Any help would be greatly appreciated.

Thanks,

-Rob





В списке pgsql-interfaces по дате отправления:

Предыдущее
От: "Marc Bernatchez"
Дата:
Сообщение: Access2000 ODBC table linking issue
Следующее
От: "Ken J. Wright"
Дата:
Сообщение: Re: [INTERFACES] FPK Pascal and Postgres