From: Jianchun XU <xjc@gisc.berkeley.edu>
To: pgsql-interfaces@postgreSQL.org
Subject: PgConnection type_info function
Date: Wed, 15 Nov 2000 18:02:48 -0000
Message-ID: <NEBBLLOAMKAFIKMBFPLCGEBLCAAA.xjc@gisc.berkeley.edu> (raw)
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!
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: xjc@gisc.berkeley.edu
Subject: Re: PgConnection type_info function
In-Reply-To: <NEBBLLOAMKAFIKMBFPLCGEBLCAAA.xjc@gisc.berkeley.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox