Linux - Postgres - LAPPStack - libpq.so lazarus / 16-Databases ---------------------------------------------------------------------- vilgilsoft · 2014-04-12 18:55 Hi I have installed lazarus and i have made a test postres application. The application works in windows (I had copied the libpq.dll files in the same directory as the exe) In my linux os (Ubuntu 12.4) i have installed Bitnami LAPPSTACK in home/lappstack. the phppgadmin works in browser. I found the libpq.so files in home/lappstack/postrges/lib Now where should i copy these files so that my lazarus program will find the libpq.so file and work Now i am getting the error : Can not load PostgreSQL client library "libpq.so.5". Check your installation. Thanks ---------------------------------------------------------------------- bylaardt · 2014-04-12 21:09 install the psql-dev or make a link for the libpq.so file in /usr/lib/libpq.so: sudo ln -s /usr/lib/libpq.so.5 /usr/lib/libpq.so