cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Undefined curl symbols while loading the library

From: Scoped Ptr <scoped.ptr_at_gmail.com>
Date: Thu, 17 Jul 2008 16:25:47 -0700

I am using ubuntu and I have both /usr/local/lib and /usr/lib in
/etc/ld.conf.d.
The problem got resolved when I removed all curl libraries and re installed
them using sudo apt-get install

The same library which works fine on my system now, gives the same problem
on another linux system where again curl is installed.

Thanks

On Thu, Jul 17, 2008 at 3:36 PM, Joe N. <jnardone_at_gmail.com> wrote:

>
> I am trying to link libcurl with my application and I get the following
>> when
>> i do ld or ldd on the binary I build.
>>
>> ld issues
>> /usr/local/lib/libcurl.so.4: no version information available
>>
>> ldd issues
>> : undefined reference to `curl_global_cleanup_at_CURL_OPENSSL_3'
>> : undefined reference to `curl_easy_cleanup_at_CURL_OPENSSL_3'
>> : undefined reference to `curl_easy_perform_at_CURL_OPENSSL_3'
>> : undefined reference to `curl_slist_free_all_at_CURL_OPENSSL_3'
>> : undefined reference to `curl_easy_setopt_at_CURL_OPENSSL_3'
>> : undefined reference to `curl_formadd_at_CURL_OPENSSL_3'
>> : undefined reference to `curl_easy_init_at_CURL_OPENSSL_3'
>> : undefined reference to `curl_slist_append_at_CURL_OPENSSL_3'
>> : undefined reference to `curl_global_init_at_CURL_OPENSSL_3
>>
>> I have installed curl manually using the ./configure , make , make install
>>
>> and I have libcurl.so and libcurl.so.4 in /usr/local/lib.
>>
>>
>>
>
> Is /usr/local/lib in your lib path? (IF this is on Linux, check
> /etc/ld.so.conf and/or /etc/ld.so.conf.d depending on vendor)
> You can also try setting LD_LIBRARY_PATH temporarily to /usr/local/lib to
> see if the library searching is the problem.
>
> joe
>
>
Received on 2008-07-18