If one install Geant4 under the directory whose full path name contains a string of g/test/h or g/tests/h, then the libname.map file becomes empty. As the result of this, one has to build global libraries. This trouble is coursed by the 70th line of GNUmakefile on source dir. At this line, all GNUmakefile which contain gtesth or gtestsh string in their full path name weeded out (from temporal working file of libname.map). See Geant4 Hyper News Installation and Configuration 272
Fixed for next release. Involves changes to two lines of source/GNUmakefile: 63c63 < @find $(G4INSTALL)/source \ --- > @find . \ 81c81,82 < echo $$i >> /tmp/G4libname.map.starter.$(unique); \ --- > echo $$i | sed s\#^\\.\#source\# \ > >> /tmp/G4libname.map.starter.$(unique); \