Обсуждение: having a whole lot of trouble...

Поиск
Список
Период
Сортировка

having a whole lot of trouble...

От
"isaac flemmin"
Дата:

Hello,

 

I am quite new to the installation and setup of PostgreSQL and thus far have been able to compile and install version 7.1.3. I can then connect to the database locally, etc. The problem I am having is in trying to use either the libpq or the libpq++. No program I write, even if all I do is include the header files, will compile. I have done a make install-all-headers as root, and still have no luck when trying to compile programs that use either library. I have read thru the faq’s and the doc files, added the library directories to my path in the manners described etc, but I still have no luck when trying to compile a program. The sample programs included with the source will not even compile when I use a make. At this point it seems that the header files are not my problem, because I no longer get files not found errors, or what not. But when the compiler goes to link my program with the libraries it just does not seem to want to do it. Is there any good documentation out there on how to set up pqsql so I can write programs with it. This is something that I need very urgently, since I am under a deadline and have to have a program written that will put information into the database by Monday. If anyone out there has any idea how to help me please send me an email. Thank you very much in advance for reading and responding to this email.

 

Sincerely

Isaac D. Flemming

Re: having a whole lot of trouble...

От
jtv
Дата:
On Sat, Jan 26, 2002 at 05:11:45PM -0800, isaac flemmin wrote:
> 
> compile when I use a make. At this point it seems that the header files
> are not my problem, because I no longer get files not found errors, or
> what not. But when the compiler goes to link my program with the
> libraries it just does not seem to want to do it. 

Why don't you start by explaining what system you're on and what errors
you're getting?  It's hard to help when you don't know enough about the 
problem.



Re: having a whole lot of trouble...

От
jtv
Дата:
On Sat, Feb 02, 2002 at 11:57:26AM +0100, jtv wrote:
> On Sat, Jan 26, 2002 at 05:11:45PM -0800, isaac flemmin wrote:

Oops--for some reason a copy of Isaac's message arrived exactly one week 
late, tricking me into thinking it was new.

Please ignore.  Sorry.


Jeroen