gnutls extension

Sumon Islam isumon20 at
Wed Dec 1 14:30:08 CET 2010

Now I am totally frustrated, I did all things as you suggested. But still it did 
not work. At first I change the files and then execute-
#cd  /home/sumon/gnutls/lib

But no result. Then I deleted all gnutls related files from /usr/local/lib and 
/usr/local/include and did-
#cd  /home/sumon/gnutls/lib
#make install

But no result. Also I tried with the ./configure, make and make install from  
/home/sumon/gnutls directory (not inside /lib) without success. Then I 
downloaded the files from an older discussion 
( and did 
./configure, make and make install after deleting all gnutls related file from 
usr/local/{lib | include} and compile her (Carolin) sample code (in the same 
thread). It compiles without any error and the server runs, but the client gives 
me the following error during run time -

./client: /usr/lib/ version `GNUTLS_2_10' not found (required by 

I know that it worked for her machine, as she finished the discussion, but why 
it does not work for me. What am I missing? Please help.

Best regards,

From: Nikos Mavrogiannopoulos <nmav at>
To: Sumon Islam <isumon20 at>
Cc: help-gnutls at
Sent: Tue, November 30, 2010 6:13:27 PM
Subject: Re: gnutls extension

On 11/29/2010 11:11 PM, Sumon Islam wrote:
> Hi,
> I would like to extend the gnutls, I followed all steps (point 1 to 4) as the 
> link specified 
>  I made simple ext_foobar.c and ext_foobar.h ( I avoided the API steps of point 
> 5 at the first time for simplicity), attached below. 

You only need to do the configure stuff only if you plan to disable your
extension... Do you really need it? Just avoid the ifdef and if parts.

> I downloaded the client 
>  and server 
>  and run the unmodified version.  Do I need to change anything in the client 
> server program to initiate the extension? 

No you shouldn't. For simple examples on extensions check
ext_server_name and ext_max_record.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20101201/b175b8f2/attachment.htm>

More information about the Gnutls-help mailing list