Re: libpq++ problem

From: "Liam DeMasi" <ldemasi(at)acsinc-nj(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: libpq++ problem
Date: 2002-02-21 15:13:18
Message-ID: a532pn$2k8b$1@jupiter.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-interfaces


<corey(at)tsunamicreek(dot)com> wrote in message
news:20020220205318(dot)P859-100000(at)evilpig(dot)idleplay(dot)net(dot)(dot)(dot)
> 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(at)postgresql(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Lockhart 2002-02-21 15:18:41 Re: mapping date value (SQL question)
Previous Message Jeff Self 2002-02-21 14:38:35 Re: mapping date value (SQL question)

Browse pgsql-interfaces by date

  From Date Subject
Next Message corey 2002-02-21 20:13:46 Re: libpq++ problem
Previous Message Liam DeMasi 2002-02-21 15:08:07 Re: Postgresql - Access2000