How to install libxc in agave.
mkdir -p $MYLIBXCDIR
cd $MYLIBXCDIR
wget -O libxc-5.0.0.tar.gz http://www.tddft.org/programs/libxc/down.php?file=5.0.0/libxc-5.0.0.tar.gz
tar xzf libxc-5.0.0.tar.gz
cd libxc-5.0.0
mkdir install
./configure --prefix=PATH/TO/LIBXC
make
make check
make install