I can run my Lazarus program fine in my development machine, but when I move my executable to another computer I get:
Can not load PostgreSQL client. Is it Installed? (libpq.so)
I have tried almost everything I can think of to get it working to no avail incluiding a copying the libpq.so file on the same directory, recreating the library directory structure the same as in my development computer (it is /usr/local/pgsql/lib vs /opt/PostgreSQL/9.1/lib), adding symlinks all over, adding the library path to the PATH environment variable.
pgadmin3 works fine on the target computer, so I am at my wits end. Please help.