using libpq++.h

Поиск
Список
Период
Сортировка
От Joyce Brombaugh
Тема using libpq++.h
Дата
Msg-id 20020216194517.D5293-100000@sumatra.cs.washington.edu
обсуждение исходный текст
Ответы Re: using libpq++.h  (Oliver Elphick <olly@lfix.co.uk>)
Список pgsql-interfaces
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 по дате отправления:

Предыдущее
От: paul
Дата:
Сообщение: RH Linux 7.2
Следующее
От: Joyce Brombaugh
Дата:
Сообщение: using libpq++.h (fwd)