centos 7 installation
-
Hi,
make sure you have package postgresql-devel installed.
Best regards,
Victor -
Hi Victor,
thank you for the reply. centos is packed with a different version of postgres then i have installed, does it matter ?
also, i have found the file under <postgres install dir>/include, do i still have to install the devel package ? do i need to "export" some env. variables ?Best Regards,
Lindeamon -
Hi,
environment variables is not needed, you need only libpq-fe.h in include path, and libpq.so in library path. You can specify path to your PostgreSQL installation in --with-pgsql configuration option, like
./configure --with-pgsql=<postgres install dir>
Best regards,
Victor -
-
hi victor,
used --with-pgsql=/opt/PostgreSQL/9.5/ and didn't get the libpq-fe.h error.
now iam geting:
for PQconnectdb in -lpq... no
configure: error: libpq is require for PostgreSQL support.can you tell me what is happening ?
never had those kind of troubles in the past...
Best Regards,
Lindeamon -
hi victor,
i have installed the postgres-devel package bundled with the centos7 install media and nothing worked, still missing libpq.
i have removed postgres9.5 and installed v9.1 and still the same error.can you help ?
i do not want to reinstall the server with windows... -
hi victor,
i have set up a VM with the exact installation and everything is the same, can not pass the libpq.
i have removed postgres v9.5.6 from enterprisedb's installation and installed postgres from yum and i get passed the ./configure step.
does this has something to do with netxms ?
should i contact enterprisedb ?i need an answer quick.
Best Regards,
Lindeamon -
hi victor,
i have removed yum installed postgres and i have reinstalled it from enterprisedb's installer.
running "find" found libpq.
now, if run ./configure --with-pgsql=/opt/PostgreSQL/9.5/ i get passed the libpq-fe.h but i fail in libpq
i have ran find command and found both of the files in the "/opt/PostgreSQL/9.5/include" dirwhat is wrong ?
need your help a.s.a.pBest Regards,
lindeamon -
hi victor,
didn't had the patience to wait.
i have installed centos 6.9 x64 with enterprisedb's postgresql v9.5.6 and everything works like a charm.
something is not working with centos7 and i would appreciate if you find out what is the problem.Best Regards,
Lindeamon -
I just tried building server on Centos7 (clean minimal install, reverted to snapshot between attempts) – works fine for me.
Using binaries from postgresqls.org:
yum install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm yum install postgresql96-server postgresql96-contrib postgresql96-devel yum install gcc gcc+c++ openssl-devel libssh-devel tar zxf netxms-2.1-M3.tar.gz cd netxms-2.1-M3 ./configure --prefix=/opt/netxms --with-server --with-pgsql=/usr/pgsql-9.6 make -j16 && make installUsing PG from EnterpriseDB:
./postgresql-9.6.2-4-linux-x64.run # installed into default /opt/PostgreSQL/9.6 yum install gcc gcc+c++ openssl-devel libssh-devel tar zxf netxms-2.1-M3.tar.gz cd netxms-2.1-M3 ./configure --prefix=/opt/netxms --with-server --with-pgsql=/opt/PostgreSQL/9.6 make -j16 && make install -
-
Hello
I am just looking to add netxms to my toolbag and loaded centos 7 on a server and need some guidance to install netxms software. I am having a problem installing the netxms to the machine. I have never done this in centos.
Thanks for any help you can give me.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login