cURL / Mailing Lists / curl-users / Single Mail

curl-users

Problems linking agains libidn

From: Ohad Oded <ohado_at_itemfield.com>
Date: Wed, 19 Oct 2005 12:09:30 +0200

Hi guys,

 

I'm trying to compile cURL on Linux 64-bit.

On that system libidn is installed both 32-bit and 64-bit.

Although I'm using configure with "--with-libidn=/usr/lib64" I get

gcc
-I/home/ohadot/ItemField/Linux-2.6.9-11.ELsmp/gcc/debug/Externals/includ
e -fPIC -pipe -fsigned-char -Wall -Wno-format-y2k -Wno-unused-parameter
-W -g -ggdb -fno-defer-pop -fno-inline -DIFUNIX -D_LP64
-D_LARGEFILE64_SOURCE -DIFLINUX -DIFGCC -DDEBUG -DMEM_DEBUG=1
-DDEFINE_NEW_MACRO=1 -I/usr/java/j2sdk1.4.1_05/include
-I/usr/java/j2sdk1.4.1_05/include/linux -g -W -Wall -Wwrite-strings
-pedantic -Wno-long-long -Wpointer-arith -Wnested-externs -Winline
-Wmissing-declarations -Wmissing-prototypes -Wsign-compare -Wundef
-Wfloat-equal -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes
-Wunreachable-code -Wl,-rpath-link
/home/ohadot/ItemField/Linux-2.6.9-11.ELsmp/gcc/debug/obj/lib
-Wl,-rpath-link
/home/ohadot/ItemField/Linux-2.6.9-11.ELsmp/gcc/debug/Externals/lib
-ggdb -fno-defer-pop -O0 -fno-inline -o curl main.o hugehelp.o urlglob.o
writeout.o writeenv.o getpass.o homedir.o strtoofft.o timeval.o
-L/home/ohadot/ItemField/Linux-2.6.9-11.ELsmp/gcc/debug/Externals/lib
-pthread -L/home/ohadot/ItemField/Linux-2.6.9-11.ELsmp/gcc/debug/obj/lib
../lib/.libs/libcurl.a /usr/lib/libidn.so -ldl -lz

gcc: /usr/lib/libidn.so: No such file or directory

 

Please help

Thanks,

Ohad.
Received on 2005-10-19