<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#CCCCFF" text="#000000">
Hi Martin,<br>
I was able to build successfully. When trying to run, I see the
following error:<br>
<pre wrap="">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.
</pre>
<br>
<br>
On 5/29/2012 10:03 AM, Yong Choo wrote:
<blockquote cite="mid:4FC4D743.60504@alcatel-lucent.com" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
Thank You.<br>
Looks like that solved one problem but produced the following
error:<br>
<br>
<pre wrap="">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
</pre>
The curl/curl.h file is located in <br>
<pre>./INSTALL_STAGE/curl-7.25.0/usr/local/include/curl/curl.h</pre>
<br>
Any config variable that we can use to point to our
cross-compilation area? Looks like CPPFLAGS?<br>
<br>
<br>
On 5/29/2012 3:51 AM, Martin Willi wrote:
<blockquote cite="mid:1338277901.2941.2.camel@martin" type="cite">
<pre wrap="">Hi,
</pre>
<blockquote type="cite">
<pre wrap="">LDFLAGS=/local/user_data/mkpne_yhc_yhc_ltefdd_la6.0_112784/eccm/build/INSTALL_STAGE/curl-7.25.0/usr/local/li)
</pre>
</blockquote>
<pre wrap="">LDFLAG takes linker options, not only the directory. Try to prepend -L:
</pre>
<blockquote type="cite">
<pre wrap="">LDFLAGS=-L/local/...
</pre>
</blockquote>
<pre wrap="">Regards
Martin
</pre>
</blockquote>
</blockquote>
</body>
</html>