reply: reply: how to compile libksba into windows version

Yunfeng at
Fri Oct 3 05:57:12 CEST 2008

Hi everyone

Thanks for your helping.
I have another problem. I need to call some functions like gpgsm_**.
Which dll contains these functions, how to generate it.


发件人: Werner Koch [mailto:wk at] 
发送时间: 星期四, 2 十月, 2008 PM 2:23
收件人: Yunfeng
抄送: Gnupg-devel at
主题: Re: reply: how to compile libksba into windows version

On Thu,  2 Oct 2008 04:50, at 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

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.



Linux-Kongress 2008 + Hamburg + October 7-10 +

   Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.

Internal Virus Database is out of date.
Checked by AVG - 
Version: 8.0.138 / Virus Database: 270.5.3/1565 - Release Date: 2008-7-21

More information about the Gnupg-devel mailing list