Re: compile fails on Fedora
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2007-07-11 04:58:51
|
Hi Jari, On 7/11/07, jari pietila <jar...@ho...> wrote: > My build attempts on Fedora 5 and 6 failed with the following error below. > Is there a way to get around this? > > -jari > > # curl-loader-0.40]# make > gcc -g -o curl-loader obj/batch.o obj/cl_alloc.o obj/client.o > obj/conf.o obj/environment.o obj/heap.o obj/ip_secondary.o obj/loader.o > obj/loader_fsm.o obj/loader_hyper.o obj/loader_smooth.o obj/mpool.o > obj/parse_conf.o obj/screen.o obj/ssl_thr_lock.o obj/statistics.o > obj/timer_queue.o obj/url.o -L./lib -L/usr//lib -ldl -lpthread -lrt -lcurl > -levent -lz -lssl -lcrypto > ./lib/libcurl.a(strerror.o): In function `Curl_idn_strerror': > ../../../packages/curl/lib/strerror.c:682: undefined > reference to `idna_strerror' This is an issue described in FAQs. Taking it from there: "Another known issue is libidn.so, which means, that some linux distributions do have some libidn.so.11, but not libidn.so. Resolve it by creating a softlink. Sometimes you may need to edit the Makefile and to remove -lidn from the linking string." In your case, there is no -lidn in your linking line, and this is not helpful. Please; a) return -lidn to the linking line, where it was; b) run a search for libidn.so.*, and, if not found, install the appropriate package for your distribution. c) If some libidn.so.* found or installed, create a softlink, like: #cd to the directory, where some libidn.so.10 (or 11, etc) is located #ln -s libidn.so.10 libidn.so d) remake it. Please, next time use the filled PROBLEM-REPORTING form Sincerely, Robert Iakobashvili, coroberti %x40 gmail %x2e com ........................................................... http://curl-loader.sourceforge.net A web testing and traffic generation tool. |