cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Link Errors - missing references

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Tue, 14 Apr 2015 18:10:15 +0200

On Tuesday 14 April 2015 15:52:49 Roger Taylor wrote:
> SUSE 9, curl 7.11.0
>
> When I compile and link my program I am missing some of the functions:
>
> Compiling and Linking EUROLTST.c SUSE 9. . .
> ./libingeurol.so: undefined reference to `curl_easy_send'
> ./libingeurol.so: undefined reference to `curl_easy_recv'
> ./libingeurol.so: undefined reference to `curl_easy_strerror'
>
> > nm /usr/lib/libcurl.so.2 shows the following symbols, but not the above
> > three
> 00020d40 T curl_easy_cleanup
> 00020a80 T curl_easy_duphandle
> 00020d00 T curl_easy_getinfo
> 00020f80 T curl_easy_init
> 00020da0 T curl_easy_perform
> 00020e40 T curl_easy_setopt
>
> > curl --version
>
> curl 7.11.0 (i686-suse-linux) libcurl/7.11.0 OpenSSL/0.9.7d ipv6 zlib/1.2.1
> Protocols: ftp gopher telnet dict ldap http file https ftps
> Features: IPv6 SSL libz NTLM
>
> Are these in a later version, or is there something else I am missing ?

Yes, e.g. curl_easy_send() was introduced in 7.18.2. See the man page:

http://curl.haxx.se/libcurl/c/curl_easy_send.html

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-04-14