Closed sm2017 closed 6 years ago
You don't really need postgresql on client machine, but you really need libpq (postgresql client library).
where to find the postgresql library/headers [yes] :
does not expect the value "no" (somewhat confusingly, I suppose).
Firstly, try just leaving this option empty, the default (the "yes" option) is to search common places for the libpq headers. Chances are that as long as you have libpq installed on the machine and you haven't done anything really weird, this will work.
Alternatively, if you know where the headers are, or if you multiple versions of libpq installed and you want to build against a specific version, you can specify the full filesystem path to the directory containing them in this option.
If you do not have libpq installed, you can most likely get it from the package manager provided with your OS (yum
, apt-get
, etc). If you need any assistance with this, please include information about which OS/version you are running.
Ok , I install postgresql10-devel
, Solved
I run
I answer NO to
where to find the postgresql library/headers [yes] :
and the following error occuredHow can I install
pq
in a machine that has nopostgres
I want to connect to postgres **remotely***