Hello!

You can do 'sudo make uninstall' instead of deleting headers manually.
Otherwise, cheers!

Regards,
-- 
Ilya Kasnacheev


ср, 13 мар. 2019 г. в 22:13, jackluo923 <jack....@mail.utoronto.ca>:

> Hi Ilya,
>     I dug deeper after your response and found the root cause of the
> error.
>
> Platform: Ubuntu 16.04
> 1. Installed openssl 1.1.0h using binaries compiled from source (reason:
> 16.04 does not provided any openssl 1.1 packages), then installed using
> "make install" command.
>
> 2. Ubuntu 16.04 (Xenial) packages
> - libssl1.0.0 (version: 1.0.2g-1ubuntu4.15)
> - libssl-dev (version: 1.0.2g-1ubuntu4.15)
> - openssl (version: 1.0.2g-1ubuntu4.15)
> - no openssl 1.1 packages are available on ubuntu 16.04 thus not installed
>
> The root cause is due to Openssl 1.1 being installed from source by
> following the openssl's default instructions (also installs development
> header automatically). Even though only libssl-dev (openssl 1.0.2g) package
> is installed, the ignite's autoconfig will automatically default to 1.1.0h
> headers.
>
> Fixes:
> 1) Re-install openssl 1.1 without development header from source.
> (documentation is scarce, not sure how it could be done)
> 2) Delete openssl 1.1's development headers manually after install
> 3) Upgrade to ubuntu 18.04 where libssl1.0.0-dev and libssl-dev (1.1)
> development headers can be changed out easily. Openssl development header
> ubuntu packages for v1.0 and v1.1 (install one, uninstalls the other) thus
> preventing this problem from occurring.
> 4) Manually provide openssl development binary and include paths when
> building ignite.
>
>
> TLTR: The problem is due to development header conflict. It's slightly
> messy
> to resolve the issue in Ubuntu 16.04. Easiest solution would be to upgrade
> to ubuntu 18.04 and install openssl 1.0, 1.1 package, and development
> header
> version of your choosing suggested by Ilya. Development header version can
> be easily switched via apt-get only in Ubuntu 18.04.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to