reply: how to compile libksba into windows version

Werner Koch wk at gnupg.org
Thu Oct 2 08:23:21 CEST 2008


On Thu,  2 Oct 2008 04:50, yunxin.li at gmail.com said:

> Following the instruction. I have got the libksba-8.dll.
> But I can't find the relevant lib file.
> Where is it? Or how to generate it.

If you use the Gpg4win installer to build the library, the lib file will
be at:

  $ ls -l src/playground/install/pkgs/libksba-1.0.4/lib/
  -rw-r--r-- 1 wk wk 288340 2008-09-29 20:52 libksba.a
  -rwxr-xr-x 1 wk wk   5517 2008-09-29 20:52 libksba.def
  -rwxr-xr-x 1 wk wk  94340 2008-09-29 20:52 libksba.dll.a
  -rwxr-xr-x 1 wk wk   1050 2008-09-29 20:52 libksba.la

What you want is the libksba.dll.a file.  Rename it if you don't like
the suffix.

> I want use the libksba.dll in my vs2005 program.

Please note that libksba is licensed under the GPL version 3 or later.
Thus your program needs to have compatible license terms if you intend
to distribute it.


Shalom-Salam,

   Werner

-- 
Linux-Kongress 2008 + Hamburg + October 7-10 + www.linux-kongress.org

   Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.




More information about the Gnupg-devel mailing list