[Nagiosplug-devel] [ nagiosplug-Bugs-1235245 ] check_pgsql doesn't work with PostgreSQL 8 on RHEL 4

SourceForge.net noreply at sourceforge.net
Wed Jul 13 02:34:40 CEST 2005


Bugs item #1235245, was opened at 2005-07-09 17:42
Message generated for change (Comment added) made by mgimpel
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1235245&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Release (specify)
Status: Open
Resolution: None
Priority: 5
Submitted By: Marc Gimpel (mgimpel)
Assigned to: M. Sean Finney (seanius)
Summary: check_pgsql doesn't work with PostgreSQL 8 on RHEL 4

Initial Comment:
When trying to run check_pgsql on Red Hat Enterprise
Linux 4 with the PostgreSQL 8 RPMs from the PostgreSQL
website I get the following error:

[root at c9 ~]# /usr/lib/nagios/plugins/check_pgsql
/usr/lib/nagios/plugins/check_pgsql: error while
loading shared libraries: libpq.so.3: cannot open
shared object file: No such file or directory

The reason is that the PostgreSQL RPMs for Red Hat
Enterprise Linux 4 contain the following libraries:

/usr/lib/libpq.so.4
/usr/lib/libpq.so.4.0



----------------------------------------------------------------------

>Comment By: Marc Gimpel (mgimpel)
Date: 2005-07-13 11:31

Message:
Logged In: YES 
user_id=764314

Hi,

For the nagios plugins, I'm using the binarie RPMs from

http://dag.wieers.com/packages/nagios-plugins/nagios-plugins-1.4-2.2.el4.rf.i386.rpm

which are also for RHEL 4

----------------------------------------------------------------------

Comment By: Marc Gimpel (mgimpel)
Date: 2005-07-13 11:27

Message:
Logged In: YES 
user_id=764314

Hi,

I'm using the precompiles binaries provided by PostgreSQL on
their web site

http://www.postgresql.org/ftp/binary/v8.0.3/linux/rpms/redhat/rhel-es-4/


----------------------------------------------------------------------

Comment By: M. Sean Finney (seanius)
Date: 2005-07-13 02:26

Message:
Logged In: YES 
user_id=226838

hi,

are you using precompiled binaries from an rpm or something?

the reason you're getting this problem is because the
check_pgsql
plugin was compiled against postgres 7 (soname = 3) but you're
running postgres 8 (soname = 4).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1235245&group_id=29880




More information about the Devel mailing list