Topic: wolfSSL Installation error

Hi All,
          I am very new to wolfSSL, I have installed latest version of wolfssl library on Ubuntu 14.04 according to the manual . I am able to find all the header files in '/usr/local/include/cyassl' . But when I have include the header file "#include <cyassl/ssl.h>" in my code, when I compile it says undefined reference. I have installed openssl and gnuTLS prior to installing cyassl. What is that I am missing?


Regards
Sainath

Share

Re: wolfSSL Installation error

Also checked using the bash utility to find the library and it gives the following output.

        sudo ldconfig -p | grep cyassl
    libcyassl.so.5 (libc6,x86-64) => /usr/local/lib/libcyassl.so.5
    libcyassl.so (libc6,x86-64) => /usr/local/lib/libcyassl.so

Share

Re: wolfSSL Installation error

Hi Sainath,

How are you compiling your application?  Are you linking against the wolfSSL library, ie:

gcc main.c -lcyassl

Best Regards,
Chris