I've been using apcupsd for years, just found
THIS.
downloaded gapcmon-0.8.9.tar.bz2, ./configure, make failed with "/usr/lib64/libX11.so.6: could not read symbols: Invalid operation"
some russian web page said to do ./configure LIBS=-lX11
make went clean, got attached running gapcmon