FTP library for libpurple plugin?

Daniel Atallah daniel.atallah at gmail.com
Tue Nov 6 09:10:12 EST 2007

On 11/6/07, Vishal Rao <vishalrao at gmail.com> wrote:
> On 11/6/07, Casey Harkins <caseyharkins at gmail.com> wrote:
> > libcurl perhaps? Never used it, so I'm not sure about quick/easy, but it
> > does support most platforms (including Windows, Linux and most flavors
> > of Unix) and multiple protocols.
> >
> > http://curl.haxx.se/libcurl/
> thanks, i've started to use the libcurl which comes with cygwin and my
> libpurple plugin compiles under windows/cygwin/mingw.
> problem is, when i include curl and call its init and cleanup
> functions in the plugin code, the plugin no longer shows up in
> pidgin's plugin list to load! the plugin works again when i comment
> out the curl code... im statically linking curl and my plugin dll size
> goes up from about 100k to 500k.
> any ideas as to why this is happening and how to get it to work?

The problem is likely that you're using the cygwin-dependent libcurl.
The reason that your plugin no longer appears is that it probably
can't find cygwin1.dll, which libcurl needs.  Using the MS dependency
checker application on your plugin dll will verify this.  Pidgin (on
Windows) is a native win32 application, so you should use a natively
compiled libcurl instead and avoid having these problems.


More information about the Devel mailing list