[strongSwan] building a VICI application in C failes

Thomas Irmscher irmscher.thomas at gmail.com
Mon Feb 8 10:38:15 CET 2016


I finally found a solution for it:

The library libvici has to be linked before the C application. E. g. 
with gcc you have to use this:

gcc -L/usr/lib/ipsec -lvici myapp.c -o myapp

/usr/lib/ipsec is the folder where the libvici.so is stored.

Propably a stupid-simple thing for an expierenced programmer, but a 
quite novel for a newbie like me!


More information about the Users mailing list