Hi,
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
#autoreconf

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
#./configure
#make
#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 
(http://www.mail-archive.com/[email protected]/msg01827.html) 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/libgnutls.so.26: version `GNUTLS_2_10' not found (required 
by 
./client)

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,
Sumon
 





________________________________
From: Nikos Mavrogiannopoulos <[email protected]>
To: Sumon Islam <[email protected]>
Cc: [email protected]
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 
>(http://www.gnu.org/software/gnutls/devel/manual/gnutls.html#TLS-Extension-Handling).
>.
>  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 
>(http://www.gnu.org/software/gnutls/manual/html_node/Simple-client-example-with-anonymous-authentication.html#Simple-client-example-with-anonymous-authentication)
>)
>  and server 
>(http://www.gnu.org/software/gnutls/manual/html_node/Echo-Server-with-anonymous-authentication.html#Echo-Server-with-anonymous-authentication)
>)
>  and run the unmodified version.  Do I need to change anything in the client 
>and 
>
> server program to initiate the extension? 

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

regards,
Nikos



      
_______________________________________________
Help-gnutls mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnutls

Reply via email to