Я пытаюсь скомпилировать libpqxx 7.0.5 и возникают проблемы с поиском библиотек postgresql, которые я установил.
Я установил обе postgresql и postgresql -либ . Почему выдает мне эту ошибку?
Сценарий configure останавливается на этом:
configure: using PostgreSQL headers at
configure: using PostgreSQL libraries at
checking /libpq-fe.h usability... no
checking /libpq-fe.h presence... no
checking for /libpq-fe.h... no
configure: error:
Can't find libpq-fe.h in . Are you sure the libpq
headers are installed correctly? They should be in the directory returned by
"pg_config --includedir" or "pkg-config libpq --cflags".
If you do have libpq (the C-language client library for PostgreSQL) installed,
make sure you have the related development materials--mainly its header files--
as well as the library binary. Some system distributions keep the two in
seperate packages with names like "alibrary" and "alibrary-dev", respectively.
In that case, make sure you have the latter installed as well.
Файл действительно находится в моем каталоге /usr/include
.