Re: libpq++ problem - Mailing list pgsql-interfaces

From Liam DeMasi
Subject Re: libpq++ problem
Date
Msg-id a532pn$2k8b$1@jupiter.hub.org
Whole thread Raw
In response to libpq++ problem  (corey@tsunamicreek.com)
Responses Re: libpq++ problem
List pgsql-interfaces
<corey@tsunamicreek.com> wrote in message
news:20020220205318.P859-100000@evilpig.idleplay.net...
> 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
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

what you might want to try is not having a space before -lpq++

are you using a makefile? or just doing a single compiling?

Liam




pgsql-interfaces by date:

Previous
From: "Liam DeMasi"
Date:
Subject: Re: Postgresql - Access2000
Next
From: Taurus2000@t-online.de (Done)
Date:
Subject: What about libpq-fe.h ?