Sponsored Content
Top Forums Shell Programming and Scripting Perl : Loading moduled in local directory. Post 302885491 by clx on Monday 27th of January 2014 01:48:15 AM
Old 01-27-2014
So you have libssh2? where ?

Look at these message carefully

Code:
The libssh2 library is required by this module. If you don't have it, you can
download it from http://www.libssh2.org; you may also need OpenSSL, which can
be obtained from OpenSSL: The Open Source toolkit for SSL/TLS , or libgcrypt, which can be obtained from The GNU Privacy Guard .

and

Code:
perl Makefile.PL lib=$HOME/libssh2/lib inc=$HOME/libssh2/include \
ldargs="-lz"


Make sure you have all the prerequisites.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Function loading in a shell scripting like class loading in java

Like class loader in java, can we make a function loader in shell script, for this can someone throw some light on how internally bash runs a shell script , what happenes in runtime ... thanks in advance.. (1 Reply)
Discussion started by: mpsc_sela
1 Replies

2. Shell Programming and Scripting

Help loading a program into perl from a file on desktop

So I want to use this program that I have downloaded from: PaGE - Patters from Gene Expression However, I am not sure how to actually get in to and run the program... I can log into the server, and was assuming I needed to get the "PaGE_5.1.6.pl" file into a folder some how, but not sure how to... (2 Replies)
Discussion started by: silkiechicken
2 Replies

3. Shell Programming and Scripting

Perl - Error loading module.

Hi, I have a strange issue in my script. When script is run from command prompt it runs fine,but when run from cron it exist with error message. I narrowed down the issue and found that " use Mail::Sender;" is the culprit. If I comment the statment the code runs fine in both command and... (9 Replies)
Discussion started by: coolbhai
9 Replies

4. Solaris

sharing a directory between local and global zone

is this the step? add fs set dir=/export set special=/export set type=lofs add options rw end i notice i can't post immediately, moderator needs to moderate. i have 1 more post still haven't appear in the forum..hmm.... (1 Reply)
Discussion started by: binary0011
1 Replies

5. Shell Programming and Scripting

Environment Variable for Local Directory?

This seems like a simple thing, but I can't seem to find an environment variable that has the local/current directory stored in it. I have a script that writes out the files in a directory. I want to append the full path to the file names in the output file. (4 Replies)
Discussion started by: ttilsch
4 Replies

6. Shell Programming and Scripting

Loading variables - Perl

I'm trying to load a set of variables as defined by a local configuration file. Not too sure what I'm missing so I'll just post it as a whole. blub.pl #!/usr/bin/perl use strict; use warnings; my $config_file="blub.config"; Config_Loader(); sub Config_Loader {... (8 Replies)
Discussion started by: adelsin
8 Replies

7. UNIX for Dummies Questions & Answers

Scp from local to external directory

Hi, I am trying to copy a whole directory from my home /RUN1 to the external directory jorgensen@hal.oerc.ox.ac.uk:/home/compchem/jorgensen/simulations The command I have used is: scp -r jorgensen@hal.oerc.ox.ac.uk:/home/compchem/jorgensen/simulations The error message I get is: ... (5 Replies)
Discussion started by: chrisjorg
5 Replies

8. Shell Programming and Scripting

FTP files from different directory from remote server to one directory in local

Hi All, I want to search for .log files from folders and sub folders in remote server and FTP them to one particular folder in the local machine. I dont want to copy the entire directory tree structure, just have to take all the .log files from all the folders by doing a recursive search from the... (3 Replies)
Discussion started by: dassv
3 Replies

9. UNIX for Dummies Questions & Answers

File listing from remote to local directory

Hello, I have a file at remote server. I have to select only current day's files that are dropped on ftp server. The files do not have date or timestamp on them. so I plan to get the file listing from remote server to the local server. Based on file listing date I can find out when the files... (2 Replies)
Discussion started by: pavan_test
2 Replies

10. Shell Programming and Scripting

Replicate remote directory to local directory with ftp

I have system that generate files every 1 hours , i only have ftp connection from my local server to remote . $ ls -al -rw-r--r-- 1 water None 0 Feb 7 18:09 a.0800 -rw-r--r-- 1 water None 0 Feb 7 18:09 a.0900 -rw-r--r-- 1 water None 0 Feb 7 18:09 a.1000 is there any perl / php... (3 Replies)
Discussion started by: before4
3 Replies
libssh2_userauth_keyboard_interactive(3)			  libssh2 manual			  libssh2_userauth_keyboard_interactive(3)

NAME
libssh2_userauth_keyboard_interactive - convenience macro for libssh2_userauth_keyboard_interactive_ex(3) calls SYNOPSIS
#include <libssh2.h> int libssh2_userauth_keyboard_interactive(LIBSSH2_SESSION* session, const char *username, LIBSSH2_USERAUTH_KBDINT_RESPONSE_FUNC((*response_callback))); DESCRIPTION
This is a macro defined in a public libssh2 header file that is using the underlying function libssh2_userauth_keyboard_interactive_ex(3). RETURN VALUE
See libssh2_userauth_keyboard_interactive_ex(3) ERRORS
See libssh2_userauth_keyboard_interactive_ex(3) SEE ALSO
libssh2_userauth_keyboard_interactive_ex(3) libssh2 1.2.4 20 Feb 2010 libssh2_userauth_keyboard_interactive(3)
All times are GMT -4. The time now is 10:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy