gnutls extension
Sumon Islam
isumon20 at yahoo.com
Wed Dec 1 14:30:08 CET 2010
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/help-gnutls@gnu.org/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 <nmav at gnutls.org>
To: Sumon Islam <isumon20 at yahoo.com>
Cc: help-gnutls at gnu.org
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20101201/b175b8f2/attachment.htm>
More information about the Gnutls-help
mailing list