PgConnection type_info function

Поиск
Список
Период
Сортировка
От Jianchun XU
Тема PgConnection type_info function
Дата
Msg-id NEBBLLOAMKAFIKMBFPLCGEBLCAAA.xjc@gisc.berkeley.edu
обсуждение исходный текст
Список pgsql-interfaces
I cannot link with postgreSQL. I had done so on a linux machine, only linked
to one library "pq++" and succeeded. Now I try it on NetBSD, I cannot even
if I add 3 other libraries: "pq, ecpg, pgeasy" found in
/usr/local/pgsql/lib. Here are the messages:
-----------------------------------------------------------
g++ -L/usr/local/pgsql/lib -lpq++ -lpq -lecpg -lpgeasy -o problog.cgi
problog.o xutils.o xpgsql.o prob.o
problog.o: Undefined symbol `PgConnection type_info function' referenced
from text segment
problog.o: Undefined symbol `PgConnection type_info node' referenced from
text segment
xpgsql.o: Undefined symbol `PgConnection type_info function' referenced from
text segment
xpgsql.o: Undefined symbol `PgConnection type_info node' referenced from
text segment
prob.o: Undefined symbol `PgConnection type_info function' referenced from
text segment
prob.o: Undefined symbol `PgConnection type_info node' referenced from text
segment
collect2: ld returned 1 exit status
*** Error code 1
-----------------------------------------------------------

I wrote a most simple test program, the same problem while linking.

Could anybody help me? Thanks!



В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Sam Carter
Дата:
Сообщение: pgReadData error on simple selects
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgReadData error on simple selects