CGIWRAP Error

Has anyone had any problems interfacing the sample CGI version running
through cgiwrap (provider dicdates). I get
CGIwrap Error: System Error: execv() failed
Error: Exec format error (8)
Is there any more tweaking required other than correcting paths for the
variables?
Should the $swishcgi path also poit to the cgiwrap? (normally
/cgi-bin/cgiwrap/username/search.pl)
Would appreciate any feedback. -fh