Subject: Re: Strange: libssh2_channel_read() returns 0

Re: Strange: libssh2_channel_read() returns 0

From: Mikhail Gusarov <>
Date: Thu, 30 Apr 2009 21:27:28 +0700

Twas brillig at 15:45:35 30.04.2009 UTC+02 when did gyre and gimble:

 d> After "making" the library, the created filename should be
 d> "" instead of "" (everywhere, also
 d> in

filenames do not matter, SONAMES do.

$ readelf -a | grep SONAME

will give you a soname for a library. Runtime linker has a cache for
SONAME -> filename mapping, so you should run ldconfig to update it
after installing library.

P.S: there's really good paper called dsohowto.pdf by Ulrich Drepper,
which explains various link-related stuff in depth. Quite recommended.


Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3.

libssh2-devel mailing list

Received on 2009-04-30