Sorry if i misled you but that's exactly what I'm trying to do.... i.e. install the libssh2 libraries that I downloaded from libssh2.org. It is this that I'm having problems with. I havent got to the part of installing Net::SSH2 yet because it has a dependency on libssh2.
Comment on Re^4: Running remote commands (Net::SSH2)
.... if you havn't found the answer yet.... googling reveals it's a common problem with the dynamic linker development libraries.... see libdl problems.... try and install the libdl-devel rpm to get the proper headers for compiling dynamic libs