Re: Unable to run testlibpq.c program

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: vikram_147(at)yahoo(dot)com (Vikram)
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Unable to run testlibpq.c program
Date: 2004-05-21 05:50:23
Message-ID: 24091.1085118623@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

vikram_147(at)yahoo(dot)com (Vikram) writes:
> (bash#)gcc -I/usr/include/pgsql sirisha_retrieve.c -o output2 -lpq
> /usr/bin/ld: cannot open output file output2: Permission denied
> collect2: ld returned 1 exit status

> What does the above message signify?

It sure looks like you're doing this in a directory that you don't have
write permission for.

A less-probable alternative is that output2 already exists in your
current directory and you don't have write permission to overwrite it.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-05-21 05:52:29 Re: PG_HBA.conf still keeps complaining. I've done all I could imagine.
Previous Message Mike Nolan 2004-05-21 05:29:30 Re: Data change logs