[strongSwan] configuration error when trying to use --enable-curl
Yong Choo
yhc at alcatel-lucent.com
Thu May 24 21:01:43 CEST 2012
Hi,
We are trying to have --enable-curl plugin be a part of the image using
_*cross-compilation*_ for power-pc (not the native linux host)
We have downloaded the latest curl version from
http://curl.haxx.se/download.html
We were able to compile and generate a libcurl.a in
./INSTALL_STAGE/curl-7.25.0/usr/lib/libcurl.a
We tried to compile for strongswan but in the 'configuration' stage, we
get the following error:
configure:15423: checking for main in -lcurl
configure:15442: powerpc-wrs-linux-gnu-ppc_e500v2-glibc_cgl-gcc -o conftest -g -O2 -fomit-frame-pointer -D__USE_STRING_INLINES -pipe -DDEBUG_LEVEL=3 conftest.c -lcurl>&5
/vobs/ngp_windriver/windriver_pne2.0/gnu/4.1-wrlinux-2.0/x86-linux2/bin/../lib/gcc/powerpc-wrs-linux-gnu/4.1.2/../../../../powerpc-wrs-linux-gnu/bin/ld: cannot find -lcurl
How do we specify how to find the library for curl (libcurl.a)? I dont
think it is --lib
(I tried to build the strongswan in the native linux host machine and
everything is fine.)
Thanks in advance,
-Yong Choo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20120524/cea70e43/attachment.html>
More information about the Users
mailing list