The output of geant4-config --cflags and geant4-config --libs appears to get augmented inconsistently based on user-selected options. For example, I have an application that I built on a Mac with the QT vis option and GDML support. geant4-config includes everything needed to build against the QT support, but I had to manually add -lxerces-c to the end of geant4-config --libs in order to get my application to link. At the time of installation Geant4 knows the locations of all of the special I/L paths and libs it used to build. For geant4-config to work properly, all of these special paths and libs need to be added to the output of geant4-config --cflags and geant4-config --libs.