curl-users
RE: Problems linking agains libidn
Date: Wed, 19 Oct 2005 13:20:05 +0200
Thanks for the quick reply,
I checked and libidn.so exists in /usr/lib64.
>From config.log I'm running on:
hostname = lab-64bit-rh4.item.com
uname -m = x86_64
uname -r = 2.6.9-11.ELsmp
uname -s = Linux
I see that the line prior to gcc calls /bin/sh libtool ... -lidn ...
Lines from config.log regarding the idn tests are:
configure:25778: checking whether to build with libidn
configure:25792: result: yes
configure:25795: checking for idna_to_ascii_lz in -lidn
configure:25825: gcc -o conftest
-I/home/ohadot/ItemField/Linux-2.6.9-11.ELsmp/gcc/debug/Externals/includ
e -pthread -fPIC -pipe -fsigned-char -Wall -Wno-format-y2k
-Wno-unused-parameter -W -g -ggdb -fno-defer-pop -O0 -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
-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
-L/home/ohadot/ItemField/Linux-2.6.9-11.ELsmp/gcc/debug/Externals/lib
-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 conftest.c -lidn -ldl -lz >&5
configure:25831: $? = 0
configure:25834: test -z || test ! -s
conftest.err
configure:25837: $? = 0
configure:25840: test -s conftest
configure:25843: $? = 0
configure:25856: result: yes
configure:25960: checking for idn_free
configure:26017: gcc -o conftest
-I/home/ohadot/ItemField/Linux-2.6.9-11.ELsmp/gcc/debug/Externals/includ
e -pthread -fPIC -pipe -fsigned-char -Wall -Wno-format-y2k
-Wno-unused-parameter -W -g -ggdb -fno-defer-pop -O0 -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
-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
-L/home/ohadot/ItemField/Linux-2.6.9-11.ELsmp/gcc/debug/Externals/lib
-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 conftest.c -lidn -ldl -lz >&5
configure:26023: $? = 0
configure:26026: test -z || test ! -s
conftest.err
configure:26029: $? = 0
configure:26032: test -s conftest
configure:26035: $? = 0
configure:26047: result: yes
configure:26071: checking idn-free.h usability
configure:26083: gcc -c
-I/home/ohadot/ItemField/Linux-2.6.9-11.ELsmp/gcc/debug/Externals/includ
e -pthread -fPIC -pipe -fsigned-char -Wall -Wno-format-y2k
-Wno-unused-parameter -W -g -ggdb -fno-defer-pop -O0 -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 conftest.c >&5
configure:26089: $? = 0
configure:26092: test -z || test ! -s
conftest.err
configure:26095: $? = 0
configure:26098: test -s conftest.o
configure:26101: $? = 0
configure:26111: result: yes
configure:26115: checking idn-free.h presence
configure:26125: gcc -E conftest.c
configure:26131: $? = 0
configure:26151: result: yes
configure:26186: checking for idn-free.h
configure:26193: result: yes
configure:26213: checking AIX 4.3 or later
BTW what's the link to the mailing list so I can see all the
correspondence?
Thanks,
Ohad.
Received on 2005-10-19