It can't find libpfq - this is a dynamic linking problem with that library rather than a problem with your XS code.
/J\
In reply to Re: xs problem by gellyfish in thread xs problem by teh_steev