Install RPostgreSQL on RHEL 6.5 libpq-fe.h Error

后端 未结 2 614
故里飘歌
故里飘歌 2021-02-07 15:38

I have RHEL 6.5 Server with an installation of R (3.1.1) & RStudioServer (0.98.1062)

I have postgresql-9.3 installed and handling a large database. In order to conne

相关标签:
2条回答
  • 2021-02-07 15:41

    I ended up looking into the RPostgreSQL configure file in the tarball, searched for the file name the script couldn't find and decided it was easiest to create an environmental variable:

    export PG_INCDIR=/usr/pgsql-9.3/include/

    Worked like a charm after that.

    If you have sudo rights, you could also try:

    yum install postgresql-devel

    0 讨论(0)
  • 2021-02-07 16:01

    Followup info because I just had the same problem.
    Installing yum install postgresql-devel resolves the error too.

    0 讨论(0)
提交回复
热议问题