<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello.<br>
    I tried to install and run ikec in CentOS 5.6:<br>
    <span class="line"><span class="ID"><br>
        = </span></span><strong><tt class="backtick">Install required software</tt></strong><span
      class="line"><span class="ID"> =<br>
        yum</span> <span class="ID">install</span> <span class="ID">make</span>
      <span class="ID">openssl</span><span class="SPChar">-</span><span
        class="ID">devel</span> <span class="ID">cmake</span> <span
        class="ID">libedit</span><span class="SPChar">-</span><span
        class="ID">devel</span> <span class="ID">flex</span> <span
        class="ID">openldap</span><span class="SPChar">-</span><span
        class="ID">devel</span> <span class="ID">bison</span> <span
        class="ID">gcc</span><span class="SPChar">-</span><span
        class="ID">c</span><span class="SPChar">+</span><span
        class="SPChar">+</span></span><span class="line"><span
        class="ResWord"><br>
        <br>
        = </span></span><strong><tt class="backtick">Get Sources</tt></strong><span
      class="line"><span class="ResWord"> =<br>
        cd</span> <span class="SPChar">/</span><span class="ID">usr</span><span
        class="SPChar">/</span><span class="ResWord">local</span><span
        class="SPChar">/</span><span class="ID">src<br>
      </span></span><span class="line"><span class="ID">wget</span> <span
        class="ID">http</span><span class="SPChar">:</span><span
        class="SPChar">/</span><span class="SPChar">/</span><span
        class="ID">www</span><span class="SPChar">.</span><span
        class="ID">shrew</span><span class="SPChar">.</span><span
        class="ID">net</span><span class="SPChar">/</span><span
        class="ID">download</span><span class="SPChar">/</span><span
        class="ID">ike</span><span class="SPChar">/</span><span
        class="ID">ike</span><span class="SPChar">-</span><span
        class="Number">2.2</span><span class="SPChar">.</span><span
        class="Number">0</span><span class="SPChar">-</span><span
        class="ID">beta</span><span class="SPChar">-</span><span
        class="Number">2.</span><span class="ID">tgz<br>
      </span></span><span class="line"><span class="ID">tar</span> <span
        class="SPChar">-</span><span class="ID">zxvf</span> <span
        class="ID">ike</span><span class="SPChar">-</span><span
        class="Number">2.2</span><span class="SPChar">.</span><span
        class="Number">0</span><span class="SPChar">-</span><span
        class="ID">beta</span><span class="SPChar">-</span><span
        class="Number">2.</span><span class="ID">tgz</span></span><br>
    <br>
    = <strong><tt class="backtick">Compile</tt></strong> =<br>
    cd /usr/local/src/ike<br>
    cmake -DDEBUG=YES -DQTGUI=NO -DNATT=YES -DLDAP=YES<br>
    make<br>
    make install<br>
    <br>
    = <strong><tt class="backtick">Make links for libraries </tt></strong>=<br>
    <span class="line"><span class="ID">ls</span> <span class="SPChar">-</span><span
        class="ID">la</span> <span class="SPChar">/</span><span
        class="ID">usr</span><span class="SPChar">/</span><span
        class="ResWord">local</span><span class="SPChar">/</span><span
        class="ID">lib</span> <span class="SPChar">|</span> <span
        class="ID">grep</span> <span class="String">"so"</span> <span
        class="SPChar">|</span> <span class="ID">awk</span> '<span
        class="SPChar">{</span><span class="ID">print</span> <span
        class="String">"ln -s /usr/local/lib/"</span> <span
        class="SPChar">$</span><span class="Number">9</span> <span
        class="String">" /usr/lib/"</span> <span class="SPChar">$</span><span
        class="Number">9</span> <span class="SPChar">}</span>'</span><br>
    <br>
    = <strong><tt>Start ikec</tt><tt class="backtick"> </tt></strong>=<br>
    <span class="line"><span class="ID">ikec -r test.pcf<br>
        <br>
        And I got the error:<br>
        <br>
        ii : ## : VPN Connect, ver 2.2.0<br>
        ## : Copyright 2009 Shrew Soft Inc.<br>
        ## : press the <h> key for help<br>
        *** glibc detected *** ikec: double free or corruption (out):
        0x08903558 ***<br>
        ======= Backtrace: =========<br>
        /lib/libc.so.6[0x2e1ee5]<br>
        /lib/libc.so.6(cfree+0x59)[0x2e2329]<br>
        /usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0x5cffe1]<br>
        /usr/lib/libstdc++.so.6(_ZdaPv+0x1d)[0x5d003d]<br>
        /usr/lib/libss_idb.so.2.2.0(_ZN6_BDATA4growEj+0x76)[0x4e6e18]<br>
        /usr/lib/libss_idb.so.2.2.0(_ZN6_BDATA3insEPvjj+0x46)[0x4e6fe4]<br>
        /usr/lib/libss_idb.so.2.2.0(_ZN6_BDATA3insEPcjj+0x32)[0x4e70ee]<br>
/usr/lib/libss_ike.so.2.2.0(_ZN15_CONFIG_MANAGER13file_vpn_loadER7_CONFIG+0xf5)[0xbd8467]<br>
/usr/lib/libss_ike.so.2.2.0(_ZN7_CLIENT11config_loadEv+0xbb)[0xbcf245]<br>
        ikec(main+0xd6)[0x80491ea]<br>
        /lib/libc.so.6(__libc_start_main+0xdc)[0x28fe9c]<br>
        ikec(__gxx_personality_v0+0x51)[0x8049061]<br>
        ======= Memory map: ========<br>
        00110000-0023a000 r-xp 00000000 fd:00 1239319   
        /lib/libcrypto.so.0.9.8e<br>
        0023a000-0024e000 rwxp 00129000 fd:00 1239319   
        /lib/libcrypto.so.0.9.8e<br>
        0024e000-00251000 rwxp 0024e000 00:00 0<br>
        00251000-00278000 r-xp 00000000 fd:00 1239135   
        /lib/libm-2.5.so<br>
        00278000-00279000 r-xp 00026000 fd:00 1239135   
        /lib/libm-2.5.so<br>
        00279000-0027a000 rwxp 00027000 fd:00 1239135   
        /lib/libm-2.5.so<br>
        0027a000-003cc000 r-xp 00000000 fd:00 1239127   
        /lib/libc-2.5.so<br>
        003cc000-003cd000 --xp 00152000 fd:00 1239127   
        /lib/libc-2.5.so<br>
        003cd000-003cf000 r-xp 00152000 fd:00 1239127   
        /lib/libc-2.5.so<br>
        003cf000-003d0000 rwxp 00154000 fd:00 1239127   
        /lib/libc-2.5.so<br>
        003d0000-003d3000 rwxp 003d0000 00:00 0<br>
        0042c000-0046c000 r-xp 00000000 fd:00 2192792   
        /usr/lib/libncurses.so.5.5<br>
        0046c000-00474000 rwxp 00040000 fd:00 2192792   
        /usr/lib/libncurses.so.5.5<br>
        00474000-00475000 rwxp 00474000 00:00 0<br>
        00484000-0048e000 r-xp 00000000 fd:00 1239143   
        /lib/libnss_files-2.5.so<br>
        0048e000-0048f000 r-xp 00009000 fd:00 1239143   
        /lib/libnss_files-2.5.so<br>
        0048f000-00490000 rwxp 0000a000 fd:00 1239143   
        /lib/libnss_files-2.5.so<br>
        004ce000-004d1000 r-xp 00000000 fd:00 1239133   
        /lib/libdl-2.5.so<br>
        004d1000-004d2000 r-xp 00002000 fd:00 1239133   
        /lib/libdl-2.5.so<br>
        004d2000-004d3000 rwxp 00003000 fd:00 1239133   
        /lib/libdl-2.5.so<br>
        004e5000-004ea000 r-xp 00000000 fd:00 2199930   
        /usr/local/lib/libss_idb.so.2.2.0<br>
        004ea000-004eb000 rwxp 00004000 fd:00 2199930   
        /usr/local/lib/libss_idb.so.2.2.0<br>
        0051f000-005fd000 r-xp 00000000 fd:00 2192602   
        /usr/lib/libstdc++.so.6.0.8<br>
        005fd000-00600000 r-xp 000dd000 fd:00 2192602   
        /usr/lib/libstdc++.so.6.0.8<br>
        00600000-00602000 rwxp 000e0000 fd:00 2192602   
        /usr/lib/libstdc++.so.6.0.8<br>
        00602000-00608000 rwxp 00602000 00:00 0<br>
        0081a000-0082c000 r-xp 00000000 fd:00 1240687   
        /lib/libz.so.1.2.3<br>
        0082c000-0082d000 rwxp 00011000 fd:00 1240687   
        /lib/libz.so.1.2.3<br>
        00b12000-00b13000 r-xp 00b12000 00:00 0          [vdso]<br>
        00b2f000-00b4a000 r-xp 00000000 fd:00 1239120    /lib/ld-2.5.so<br>
        00b4a000-00b4b000 r-xp 0001a000 fd:00 1239120    /lib/ld-2.5.so<br>
        00b4b000-00b4c000 rwxp 0001b000 fd:00 1239120    /lib/ld-2.5.so<br>
        00bcb000-00bdc000 r-xp 00000000 fd:00 2199926   
        /usr/local/lib/libss_ike.so.2.2.0<br>
        00bdc000-00bdd000 rwxp 00011000 fd:00 2199926   
        /usr/local/lib/libss_ike.so.2.2.0<br>
        00d56000-00d7a000 r-xp 00000000 fd:00 2199890   
        /usr/lib/libedit.so.0.0.34<br>
        00d7a000-00d7c000 rwxp 00024000 fd:00 2199890   
        /usr/lib/libedit.so.0.0.34<br>
        00d7c000-00d7f000 rwxp 00d7c000 00:00 0<br>
        00dcd000-00dd4000 r-xp 00000000 fd:00 1239155   
        /lib/librt-2.5.so<br>
        00dd4000-00dd5000 r-xp 00007000 fd:00 1239155   
        /lib/librt-2.5.so<br>
        00dd5000-00dd6000 rwxp 00008000 fd:00 1239155   
        /lib/librt-2.5.so<br>
        00de8000-00dec000 r-xp 00000000 fd:00 2199932   
        /usr/local/lib/libss_ith.so.2.2.0<br>
        00dec000-00ded000 rwxp 00004000 fd:00 2199932   
        /usr/local/lib/libss_ith.so.2.2.0<br>
        00e41000-00e43000 r-xp 00000000 fd:00 2199934   
        /usr/local/lib/libss_log.so.2.2.0<br>
        00e43000-00e44000 rwxp 00001000 fd:00 2199934   
        /usr/local/lib/libss_log.so.2.2.0<br>
        00e94000-00ea9000 r-xp 00000000 fd:00 1239151   
        /lib/libpthread-2.5.so<br>
        00ea9000-00eaa000 --xp 00015000 fd:00 1239151   
        /lib/libpthread-2.5.so<br>
        00eaa000-00eab000 r-xp 00015000 fd:00 1239151   
        /lib/libpthread-2.5.so<br>
        00eab000-00eac000 rwxp 00016000 fd:00 1239151   
        /lib/libpthread-2.5.so<br>
        00eac000-00eae000 rwxp 00eac000 00:00 0<br>
        00fa2000-00fad000 r-xp 00000000 fd:00 1240669   
        /lib/libgcc_s-4.1.2-20080825.so.1<br>
        00fad000-00fae000 rwxp 0000a000 fd:00 1240669   
        /lib/libgcc_s-4.1.2-20080825.so.1<br>
        08048000-0804b000 r-xp 00000000 fd:00 2199924   
        /usr/local/bin/ikec<br>
        0804b000-0804c000 rw-p 00002000 fd:00 2199924   
        /usr/local/bin/ikec<br>
        08903000-08924000 rw-p 08903000 00:00 0          [heap]<br>
        b7fd6000-b7fdb000 rw-p b7fd6000 00:00 0<br>
        b7fe1000-b7fe2000 rw-p b7fe1000 00:00 0<br>
        bfdf6000-bfe0b000 rw-p bffe9000 00:00 0          [stack]<br>
        Aborted<br>
        <br>
        <br>
        How I can fix this ?<br>
        Thank you in advance.<br>
      </span></span>
  </body>
</html>