Search Postgresql Archives

Re: Unable to run testlibpq.c program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



vikram_147@yahoo.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

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux