[strongSwan] configuration error when trying to use --enable-curl

Yong Choo yhc at alcatel-lucent.com
Wed May 30 19:54:33 CEST 2012


Hi Martin,
I was able to build successfully. When trying to run, I see the 
following error:

Jan  1 01:03:17 (none) charon: 00[DMN] Starting IKEv2 charon daemon (strongSwan
Jan  1 01:03:17 (none) charon: 00[LIB] plugin 'curl' failed to load: libcurl.so.
Jan  1 01:03:17 (none) charon: 00[LIB] plugin 'aes': loaded successfully
Jan  1 01:03:17 (none) charon: 00[LIB] plugin 'des': loaded successfully
Jan  1 01:03:17 (none) charon: 00[LIB] plugin 'sha1': loaded successfully
Jan  1 01:03:17 (none) charon: 00[LIB] plugin 'sha2': loaded successfully
...


I have libcurl.so in the
libexec/ipsec/plugins directory.

Any reason why it is failing to load? I tried to put libcurl.so in /usr/lib, /lib but no difference in the error.





On 5/29/2012 10:03 AM, Yong Choo wrote:
> Thank You.
> Looks like that solved one problem but produced the following error:
>
> configure:15460: checking curl/curl.h usability
> configure:15460: powerpc-wrs-linux-gnu-ppc_e500v2-glibc_cgl-gcc -c -g -O2 -fomit-frame-pointer -D__USE_STRING_INLINES -pipe -DDEBUG_LEVEL=3  conftest.c>&5
> conftest.c:80:23: error: curl/curl.h: No such file or directory
>
> The curl/curl.h file is located in
> ./INSTALL_STAGE/curl-7.25.0/usr/local/include/curl/curl.h
>
> Any config variable that we can use to point to our cross-compilation 
> area? Looks like CPPFLAGS?
>
>
> On 5/29/2012 3:51 AM, Martin Willi wrote:
>> Hi,
>>
>>> LDFLAGS=/local/user_data/mkpne_yhc_yhc_ltefdd_la6.0_112784/eccm/build/INSTALL_STAGE/curl-7.25.0/usr/local/li)
>> LDFLAG takes linker options, not only the directory. Try to prepend -L:
>>
>>> LDFLAGS=-L/local/...
>> Regards
>> Martin
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20120530/c7774464/attachment.html>


More information about the Users mailing list