安装do_postgres (0.10.16) Bundler不能继续时发生错误。确保“gem安装do_post -v”0.10.16”成功

时间:2022-01-22 23:41:11

Am trying to install snorby on Ubuntu 16.04 and I am having this error message:

我正在尝试在Ubuntu 16.04上安装snorby,我有一条错误消息:

Error occured while installing do_postgres (0.10.16) Bundler canot continue. Make sure 'gem install do_postgress -v '0.10.16' succeeds

安装do_postgres (0.10.16) Bundler不能继续时发生错误。确保“gem安装do_post -v”0.10.16”成功

I have tried sudo apt-get install libpq and it still has not resolved it. The header postres.h seems to be missing.

我尝试过sudo apt-get install libpq,但是它仍然没有解决这个问题。头postres。h好像不见了。

1 个解决方案

#1


2  

Try the following:

试试以下:

sudo apt-get install postgresql-9.5 postgresql-server-dev-9.5 libpq-dev

#1


2  

Try the following:

试试以下:

sudo apt-get install postgresql-9.5 postgresql-server-dev-9.5 libpq-dev