A lot of thanks, now roks perfectly.The problem it was that i put the commnad 
line with -o and the correct form was:gcc -lssl -lcrypto cli.c
Thanks.



> Date: Sat, 27 Feb 2010 11:33:31 -0800
> From: pie...@hogranch.com
> To: openssl-users@openssl.org
> Subject: Re: Error copiling ssl: undefined reference
> 
> xabi esteban wrote:
> > A lot of thanks but I'm vey confused and my english is not good. I 
> > compile with ggc -o and you said that this is not enought, i need 
> > linket too?
> > Put you put an example linking the libreres with gcc or example for a 
> > makefile? Thanks
> 
> at a minimum, try adding -lssl -lcrypto   to that gcc command line.   
> this tells it to tell the linker phase to include libssl.so and 
> libcrypto.so
> 
> 
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           majord...@openssl.org
                                          
_________________________________________________________________
¿Aún sin la última versión de Internet Explorer 8? ¡Actualízate gratis!
http://www.vivelive.com/internetexplorer8

Reply via email to