Thanks for the reply. I used:
pp -l <libssh2.dll> -o abc.exe abc.pl
I have tried the -X switch in the following command:
pp -l <libssh2.dll> -X Time::Hires -o abc.exe abc.pl
and it works. Can you please explain what the X switch does. I read that it excludes it dependency search path and uses it at runtime but how is it any different from it being part of the package.