Skip site navigation (1) Skip section navigation (2)

using libpq++.h (fwd)

From: Joyce Brombaugh <joyceb(at)cs(dot)washington(dot)edu>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: using libpq++.h (fwd)
Date: 2002-02-17 07:41:20
Message-ID: 20020216234030.O10735-100000@sumatra.cs.washington.edu (view raw or flat)
Thread:
Lists: pgsql-interfaces
Please disregard the message. It has been fixed.
You don't need to post it.

Thanks alot and sorry for the inconvenience.

Joyce Brombaugh

---------- Forwarded message ----------
Date: Sat, 16 Feb 2002 19:52:00 -0800 (PST)
From: Joyce Brombaugh <joyceb(at)cs(dot)washington(dot)edu>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: using libpq++.h

I am new in this and really appreciate some help.

I am able to compile my interface, but get an error when I tried to 
execute it:

error while loading shared libraries: libpq++.so.4: cannot open shared 
object file: No such file or directory

I can see I do have that file in /pgsql/lib


I compiled it with:
        g++ -g main.o database.o -L/.../pgsql/lib -lpq++ -lpq

main.o: main.cpp database.h
        g++ -I/.../pgsql/include -g -c main.cpp

data_source.o: database.cpp database.h
        g++ -I/.../pgsql/include -g -c data_source.cpp


Thanks a lot for any help.



pgsql-interfaces by date

Next:From: Michael MeskesDate: 2002-02-17 18:17:19
Subject: odbc on unix
Previous:From: Joyce BrombaughDate: 2002-02-17 03:52:00
Subject: using libpq++.h

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group