Recent

Author Topic: Linux - Postgres - LAPPStack - libpq.so  (Read 2595 times)

vilgilsoft

  • Newbie
  • Posts: 4
Linux - Postgres - LAPPStack - libpq.so
« on: April 12, 2014, 08:55:23 pm »
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

  • Sr. Member
  • ****
  • Posts: 308
Re: Linux - Postgres - LAPPStack - libpq.so
« Reply #1 on: April 12, 2014, 11:09:13 pm »
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
« Last Edit: April 12, 2014, 11:17:16 pm by bylaardt »

 

TinyPortal © 2005-2018