curl_easy_setopt
Mark Doliner
mark at kingant.net
Tue Mar 10 14:06:53 EDT 2009
So you've just been using the Makefile in the plugins directory that
comes with Pidgin? I'm not very familiar with that, but it's probably
not possible to link against libcurl using that. You'll have to
change it to link against libcurl, or use your own Makefile, or just
use gcc directly. You can probably find lots of information about
Makefiles on the internet, and the gcc man page has information about
the syntax of -l.
-Mark
On Tue, Mar 10, 2009 at 10:41 AM, arun kumar <arunkumar0107 at gmail.com> wrote:
> im compiling from source...
>
> i tried running like make -lcurl pluginname.so
>
> also i added -lcurl to LIBS variable of makefile.mingw
>
> still no use i get the same error...
>
> On Tue, Mar 10, 2009 at 1:16 PM, Mark Doliner <mark at kingant.net> wrote:
>> It depends on how you build your plugin. The command line option to
>> gcc is probably something like -lcurl
>>
>> Also, please cc the devel at pidgin.im mailing list, you're much more
>> likely to get a useful response and the information will be archived
>> for future generations to reference.
>>
>> -Mark
>>
>> On Tue, Mar 10, 2009 at 6:32 AM, arun kumar <arunkumar0107 at gmail.com> wrote:
>>> how to link ? can u please be more specific ? i have
>>> libcurl4-gnutls-dev in my /usr/lib folder........
>>>
>>>
>>>
>>>
>>>
>>> On Wed, Mar 4, 2009 at 2:10 AM, Mark Doliner <mark at kingant.net> wrote:
>>>> On Tue, Mar 3, 2009 at 9:07 PM, arun kumar <arunkumar0107 at gmail.com> wrote:
>>>>> hi all,
>>>>>
>>>>> i wrote a plugin which was compiled to get the .so file then when i
>>>>> added it to the plugins list in pidgin, i was unable to enable it
>>>>> when i saw in plugin details it shows error: Error: undefined symbol:
>>>>> curl_easy_setopt
>>>>
>>>> Does it correctly link against libcurl? It would need to. I think
>>>> you should be able to do it either statically or dynamically.
>>>>
>>>> -Mark
>>>>
>>>
>>
>
More information about the Devel
mailing list