| Anonymous | Login | Signup for a new account | 2010-09-10 16:40 CEST |
| Main | My View | View Issues | Change Log | Roadmap |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| 0003941 | [unreal] installing | trivial | always | 2010-07-22 12:00 | 2010-07-22 13:57 | |||||||
| Reporter | ohnobinki | View Status | public | |||||||||
| Assigned To | ohnobinki | |||||||||||
| Priority | normal | Resolution | open | |||||||||
| Status | assigned | Product Version | 3.2.8 | |||||||||
| Summary | 0003941: pkg-config support for curl | |||||||||||
| Description |
I get a false warning about libcurl not having c-ares enabled at compiletime. I pasted proof into Additional Information. I suspected that ./Config would make the same mistake, but in my quick test it didn't. |
|||||||||||
| Additional Information |
checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for TRE... yes checking for CARES... yes checking /usr/bin/curl-config... yes configure: WARNING: cURL is compiled without c-ares support. Your IRCd will possibly stall when REHASHing! checking curl_easy_init() in -lcurl... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/modules/Makefile config.status: creating unreal config.status: creating ircdcron/ircdchk config.status: creating include/setup.h config.status: include/setup.h is unchanged ohnobinki@ohnopublishing ~/unreal.0 $ echo :-O :-O ohnobinki@ohnopublishing ~/unreal.0 $ eix -e curl * dev-haskell/curl Available versions: ~1.3.5 {doc profile} Homepage: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/curl [^] Description: Haskell binding to libcurl [I] net-misc/curl Available versions: 7.20.0-r2{tbz2} ~7.20.1 ~7.21.0 {ares gnutls idn ipv6 kerberos ldap libssh2 nss ssl test threads} Installed versions: 7.20.0-r2{tbz2}(21:21:37 05/05/10)(ares gnutls ipv6 kerberos ldap lib32 ssl test -idn -libssh2 -nss) Homepage: http://curl.haxx.se/ [^] Description: A Client that groks URLs Found 2 matches. ohnobinki@ohnopublishing ~/unreal.0 $ echo 'I see my ares enabled up there...' I see my ares enabled up there... ohnobinki@ohnopublishing ~/unreal.0 $ readelf -d /usr/lib64/libcurl.so |grep libcares 0x0000000000000001 (NEEDED) Shared library: [libcares.so.2] ohnobinki@ohnopublishing ~/unreal.0 $ curl-config --configure | grep -o -e '.--enable-c\?-\?ares.' '--enable-ares' You may find interest in: ohnobinki@ohnopublishing ~/unreal.0 $ curl-config --libs -lcurl ohnobinki@ohnopublishing ~/unreal.0 $ curl-config --static-libs /usr/lib64/libcurl.a -Wl,--as-needed -Wl,-O1 -Wl,-t -Wl,--enable-new-dtags -Wl,--hash-style=both -lcares -lldap -lrt -L/usr/lib64 -Wl,-rpath -Wl,/usr/lib64 -O2 -pipe -march=athlon64 -combine -ftree-vectorize -falign-functions=16 -falign-labels=16 -falign-jumps=16 -g0 -Wno-system-headers -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -L/usr/lib64 -Wl,-rpath -Wl,/usr/lib64 -O2 -pipe -march=athlon64 -combine -ftree-vectorize -falign-functions=16 -falign-labels=16 -falign-jumps=16 -g0 -Wno-system-headers -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -lz -lgnutls Note that --static-libs's output may include libs required for dependencies of libcurl.a. That is, if libcurl uses another library that requires -lcares, curl-config --static-libs will list -lcares even if curl wasn't compiled with support for it. |
|||||||||||
| Tags | No tags attached. | |||||||||||
| 3rd party modules | ||||||||||||
| QA | Not touched yet by developer | |||||||||||
| U4: Need for upstream patch | No need for upstream InspIRCd patch | |||||||||||
| U4: Upstream notification of bug | Not decided | |||||||||||
| U4: Contributor working on this | None | |||||||||||
| Attached Files |
|
|||||||||||
|
|
||||||||||||
Relationships |
|||||||||||
|
|||||||||||
| Copyright © 2000 - 2008 Mantis Group |