cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Undefined curl symbols while loading the library

From: Joe N. <jnardone_at_gmail.com>
Date: Thu, 17 Jul 2008 18:36:16 -0400

> 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