Author Topic: How to link libcurl??  (Read 5656 times)

Offline coder89

  • Single posting newcomer
  • *
  • Posts: 4
How to link libcurl??
« on: May 16, 2008, 07:04:56 am »
Hello.
I would like to link libcurl in Code::Blocks IDE on Ubuntu 7.10 operating system.
I have installed OpenSSL and Zlib. I have linked 3 files: "libcurl.a", "libssl.a", "libz.a" and it isn't satisfiable becouse i still reciving this 32 errors:

_____________________________
../../../../../usr/lib/libcurl.a(url.o): In function `fix_hostname':
(.text+0x2de): undefined reference to `stringprep_check_version'
../../../../../usr/lib/libcurl.a(url.o): In function `fix_hostname':
(.text+0x303): undefined reference to `idna_to_ascii_lz'
../../../../../usr/lib/libcurl.a(url.o): In function `fix_hostname':
(.text+0x30a): undefined reference to `stringprep_locale_charset'
../../../../../usr/lib/libcurl.a(url.o): In function `fix_hostname':
(.text+0x343): undefined reference to `idna_to_unicode_lzlz'
../../../../../usr/lib/libcurl.a(url.o): In function `fix_hostname':
(.text+0x3a4): undefined reference to `tld_check_lz'
../../../../../usr/lib/libcurl.a(url.o): In function `fix_hostname':
(.text+0x3b9): undefined reference to `idn_free'
../../../../../usr/lib/libcurl.a(url.o): In function `fix_hostname':
(.text+0x3c3): undefined reference to `tld_strerror'
../../../../../usr/lib/libcurl.a(url.o): In function `Curl_disconnect':
(.text+0x81a): undefined reference to `idn_free'
../../../../../usr/lib/libcurl.a(url.o): In function `Curl_disconnect':
(.text+0x829): undefined reference to `idn_free'
../../../../../usr/lib/libcurl.a(krb5.o): In function `krb5_decode':
(.text+0x79): undefined reference to `gss_unseal'
../../../../../usr/lib/libcurl.a(krb5.o): In function `krb5_decode':
(.text+0xa5): undefined reference to `gss_release_buffer'
../../../../../usr/lib/libcurl.a(krb5.o): In function `krb5_encode':
(.text+0x125): undefined reference to `gss_seal'
../../../../../usr/lib/libcurl.a(krb5.o): In function `krb5_encode':
(.text+0x179): undefined reference to `gss_release_buffer'
../../../../../usr/lib/libcurl.a(krb5.o): In function `krb5_auth':
(.text+0x29e): undefined reference to `gss_nt_service_name'
../../../../../usr/lib/libcurl.a(krb5.o): In function `krb5_auth':
(.text+0x2b4): undefined reference to `gss_import_name'
../../../../../usr/lib/libcurl.a(krb5.o): In function `krb5_auth':
(.text+0x2ca): undefined reference to `gss_release_name'
../../../../../usr/lib/libcurl.a(krb5.o): In function `krb5_auth':
(.text+0x341): undefined reference to `gss_display_name'
../../../../../usr/lib/libcurl.a(krb5.o): In function `krb5_auth':
(.text+0x36a): undefined reference to `gss_release_buffer'
../../../../../usr/lib/libcurl.a(krb5.o): In function `krb5_auth':
(.text+0x3ec): undefined reference to `gss_init_sec_context'
../../../../../usr/lib/libcurl.a(krb5.o): In function `krb5_auth':
(.text+0x4fc): undefined reference to `gss_release_name'
../../../../../usr/lib/libcurl.a(krb5.o): In function `krb5_auth':
(.text+0x53f): undefined reference to `gss_release_name'
../../../../../usr/lib/libcurl.a(strerror.o): In function `Curl_idn_strerror':
(.text+0x2db): undefined reference to `idna_strerror'
../../../../../usr/lib/libcurl.a(http_negotiate.o): In function `Curl_cleanup_negotiate':
(.text+0x31): undefined reference to `gss_delete_sec_context'
../../../../../usr/lib/libcurl.a(http_negotiate.o): In function `Curl_cleanup_negotiate':
(.text+0x54): undefined reference to `gss_release_name'
../../../../../usr/lib/libcurl.a(http_negotiate.o): In function `Curl_cleanup_negotiate':
(.text+0xb6): undefined reference to `gss_release_buffer'
../../../../../usr/lib/libcurl.a(http_negotiate.o): In function `Curl_output_negotiate':
(.text+0x14a): undefined reference to `gss_release_buffer'
../../../../../usr/lib/libcurl.a(http_negotiate.o): In function `Curl_input_negotiate':
(.text+0x2e1): undefined reference to `gss_init_sec_context'
../../../../../usr/lib/libcurl.a(http_negotiate.o): In function `Curl_input_negotiate':
(.text+0x3f4): undefined reference to `GSS_C_NT_HOSTBASED_SERVICE'
../../../../../usr/lib/libcurl.a(http_negotiate.o): In function `Curl_input_negotiate':
(.text+0x416): undefined reference to `gss_import_name'
../../../../../usr/lib/libcurl.a(http_negotiate.o): In function `Curl_input_negotiate':
(.text+0x447): undefined reference to `gss_release_buffer'
../../../../../usr/lib/libcurl.a(http_negotiate.o): In function `Curl_input_negotiate':
(.text+0x4e4): undefined reference to `gss_release_buffer'
../../../../../usr/lib/libcurl.a(http_negotiate.o): In function `Curl_input_negotiate':
(.text+0x534): undefined reference to `gss_display_status'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 3 seconds)
32 errors, 0 warnings
_____________________________

Which libraries I need to add to the linker list on Linux Ubuntu 7.10 ??