Page 1 of 1

PostgreSQL 9.1 and Lazarus 0.9.31

Posted: 22.11.2011, 17:45
by tbonejo
I have been trying to get a connection to my postgresql db and it always throws the error that it cannot find libpq.so or libpq.so.4. They are installed and I even set a sym link for them but my connection still complains that they cannot be found.

I am using Mac OSX Snow Leopard.

Any ideas to resolve this?

Thanks,

Tom

Posted: 02.12.2011, 15:41
by Wild_Pointer
Hello tbonejo,

have you installed libpq in your mac ?

If so, please make symbolic link to libpq in /usr/lib/ like this:
sudo ln -s /usr/lib/libpq.5.dynlib /usr/lib/libpq.so

it's described there:
http://lists.freepascal.org/lists/fpc-p ... 12067.html

Good luck!