Recent

Author Topic: Somebody Help me. TPqconnection component doesn´t work.  (Read 5816 times)

marcelo_jr

  • Newbie
  • Posts: 2
Somebody Help me. TPqconnection component doesn´t work.
« on: May 03, 2005, 10:24:57 pm »
Hello people,

I'm having problems with PostgreSQL and Lazarus. I have installed the packages SQLDBLAZ and PQCONNECTIONLAZ which are encountered in
/usr/share/lazarus/components/sqldb (I´m using Fedora Core2 Operating System). Both of these packages were installed successfully.

However, when I try to connect to a database using the component TPqConnection, a messagebox is showed containing the following message: "Can not load Postgresql client. Is it installed (libpq.so) ?" .

Does anybody in the community know how to solve this
problem ?????? Please, help me because I must advocate the use of
FreePascal instead of Java in some areas of my enterprise. I work in one of the biggest software companies of latin america and it should be an honor to me introduce Lazarus in Here. I'm trying to develop a Linux version of my Optical inventory system which was written in Delphi 7.0 and it works perfectly well.

Thank you in advance,

Marcelo Ramos de Oliveira Júnior
SERPRO - Brazillian Federal Service of Data Processing

Anonymous

  • Guest
Somebody Help me. TPqconnection component doesn´t work.
« Reply #1 on: May 03, 2005, 11:47:53 pm »
Add the path to the libpq.so file to the libraries section in your /etc/fpc.cfg file. For example I have the following entry:
-Fl/usr/local/pgsql/lib.

 

TinyPortal © 2005-2018