Hi all,
I had compiled example code sftp.c(i got this file from /libssh2-0.18
/example/simple/ directory) as follows,
g++ -o tstprogram -I <location of include directory >
<location of /lib/libssh2.so> <path of oracle library libclntsh.so>
<path of oracle library libnnz10.so> sftp.c
when i run the executable tstprogram as below,
./tstprogram <hostip> <ftpuser> <userpassword> <somepath> -p
It produced an core dump.
But, when i compiled sftp.c as below
g++ -o tstprogram -I <location of include directory > <location of
/lib/libssh2.so> sftp.c
and run the executable as
./tstprogram <hostip> <ftpuser> <userpassword> <somepath> -p
It worked fine.
Could please help me to find out why this kind of behavior is produced.
Regards,
Bharath.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2008-09-18