Re: Migrating to openssl 1.1.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It would help if you showed us the exact command that ended up with
that bunch of errors...  however, having seen this before, I'm going
to venture a guess that you either didn't include '-lssl' in your
linking command, or got the order between '-lcrypto' and '-lssl'
wrong.

However, seeing the actual command will help clear this, rather than
having to guss...

Cheers,
Richard

In message <AT5PR8401MB10908F2008C51B2F168C0F7287AB0@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> on Tue, 20 Mar 2018 21:08:07 +0000, "Beecherla, Hemantha" <hemantha.beecherla@xxxxxxx> said:

hemantha.beecherla> Hi There,
hemantha.beecherla> 
hemantha.beecherla> I am trying to migrate my application(OpenHPI) to
hemantha.beecherla> Openssl 1.1.0g-2, and getting few linker error
hemantha.beecherla> when I compile my sources with openssl 1.1.0g-2.
hemantha.beecherla> 
hemantha.beecherla> I checked the ssl header files in
hemantha.beecherla> /usr/include/openssl/ and I can clearly see this
hemantha.beecherla> functions visible in the header files.
hemantha.beecherla> 
hemantha.beecherla> Also checked the openssl 1.1.0 man pages for this
hemantha.beecherla> function and found that there are no changes to
hemantha.beecherla> these functions.
hemantha.beecherla> 
hemantha.beecherla> But when I compile my sources I am getting below
hemantha.beecherla> errors, could you please guide me how to fix this
hemantha.beecherla> errors.
hemantha.beecherla> 
hemantha.beecherla> Thank you very much in advance.
hemantha.beecherla> 
hemantha.beecherla> /home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to `SSL_CTX_free'
hemantha.beecherla> 
hemantha.beecherla> /home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to `SSL_get_error'
hemantha.beecherla> 
hemantha.beecherla> /home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to `SSL_get_fd'
hemantha.beecherla> 
hemantha.beecherla> /home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to `SSL_read'
hemantha.beecherla> 
hemantha.beecherla> /home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to `SSL_shutdown'
hemantha.beecherla> 
hemantha.beecherla> /home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to
hemantha.beecherla> `OPENSSL_init_ssl'
hemantha.beecherla> 
hemantha.beecherla> /home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to `SSL_CTX_new'
hemantha.beecherla> 
hemantha.beecherla> /home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to `BIO_f_ssl'
hemantha.beecherla> 
hemantha.beecherla> /home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to
hemantha.beecherla> `TLS_client_method'
hemantha.beecherla> 
hemantha.beecherla> /home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to
hemantha.beecherla> `SSL_CTX_set_default_verify_paths'
hemantha.beecherla> 
hemantha.beecherla> /home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to
hemantha.beecherla> `SSL_CTX_set_options'
hemantha.beecherla> 
hemantha.beecherla> /home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to `SSL_connect'
hemantha.beecherla> 
hemantha.beecherla> /home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to `SSL_free'
hemantha.beecherla> 
hemantha.beecherla> /home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to `SSL_write'
hemantha.beecherla> 
hemantha.beecherla> /home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to `SSL_set_fd'
hemantha.beecherla> 
hemantha.beecherla> /home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to `SSL_new'
hemantha.beecherla> 
hemantha.beecherla> collect2: error: ld returned 1 exit status
hemantha.beecherla> 
hemantha.beecherla> make[3]: *** [openhpid] Error 1
hemantha.beecherla> 
hemantha.beecherla> make[2]: *** [all-recursive] Error 1
hemantha.beecherla> 
hemantha.beecherla> make[1]: *** [all-recursive] Error 1
hemantha.beecherla> 
hemantha.beecherla> make: *** [all] Error 2
hemantha.beecherla> 
hemantha.beecherla> Thanks,
hemantha.beecherla> 
hemantha.beecherla> Hemantha Reddy
hemantha.beecherla> 
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux