libpq++ problem

From: corey(at)tsunamicreek(dot)com
To: pgsql-interfaces(at)postgresql(dot)org
Subject: libpq++ problem
Date: 2002-02-21 00:56:33
Message-ID: 20020220205318.P859-100000@evilpig.idleplay.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-interfaces

Hi, I am trying to get libpq++ working. I built postgresql
with the --with-CXX option. I'm trying to get a test program
running and I get this:

bash-2.05$ g++ -c -I /usr/local/pgsql/include/ test.cpp -L/usr/local/pgsql/lib/
bash-2.05$ g++ -o test -I /usr/local/pgsql/include/ test.o -L/usr/local/pgsql/lib -lpq++
bash-2.05$ ./test
/usr/libexec/ld-elf.so.1: Shared object "libpq++.so.4" not found

any ideas on how I might fix this problem or am I compiling incorrectly?

Thanks

Corey Mosher

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Blood 2002-02-21 00:57:08 query optimization Anyone know a better way to run this query
Previous Message Hugo Coolens 2002-02-20 23:58:10 deleting an identical record

Browse pgsql-interfaces by date

  From Date Subject
Next Message BELLON Michel 2002-02-21 08:00:28 Re: Using libpq with Borland C++ Builder
Previous Message paul simdars 2002-02-20 21:55:18 Re: pgaccess