Re: [openssl-users] Migrating to openssl 1.1.0

2018-03-20 Thread Richard Levitte
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 

 on Tue, 20 Mar 2018 21:08:07 +, "Beecherla, Hemantha" 
 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


[openssl-users] Migrating to openssl 1.1.0

2018-03-20 Thread Beecherla, Hemantha
Hi There,

I am trying to migrate my application(OpenHPI) to Openssl 1.1.0g-2, and getting 
few linker error when I compile my sources with openssl 1.1.0g-2.

I checked the ssl header files in /usr/include/openssl/ and I can clearly see 
this functions visible in the header files.
Also checked the openssl 1.1.0 man pages for this function and found that there 
are no changes to these functions.
But when I compile my sources I am getting below errors, could you please guide 
me how to fix this errors.

Thank you very much in advance.

/home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to 
`SSL_CTX_free'
/home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to 
`SSL_get_error'
/home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to 
`SSL_get_fd'
/home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to 
`SSL_read'
/home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to 
`SSL_shutdown'
/home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to 
`OPENSSL_init_ssl'
/home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to 
`SSL_CTX_new'
/home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to 
`BIO_f_ssl'
/home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to 
`TLS_client_method'
/home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to 
`SSL_CTX_set_default_verify_paths'
/home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to 
`SSL_CTX_set_options'
/home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to 
`SSL_connect'
/home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to 
`SSL_free'
/home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to 
`SSL_write'
/home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to 
`SSL_set_fd'
/home/hemanth/hemanth/trunk/ssl/.libs/libopenhpi_ssl.so: undefined reference to 
`SSL_new'
collect2: error: ld returned 1 exit status
make[3]: *** [openhpid] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Thanks,
Hemantha Reddy
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users