It's necessary to include /usr/lib/mozilla in LD_LIBRARY_PATH before running regxpcom.
Fixed in rawhide.