Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSSL Problem #10

Open
cguertin14 opened this issue Oct 19, 2019 · 1 comment
Open

OpenSSL Problem #10

cguertin14 opened this issue Oct 19, 2019 · 1 comment

Comments

@cguertin14
Copy link

cguertin14 commented Oct 19, 2019

The SDK installation was working well until it occured to me to have an issue related to the libssl version (OpenSSL).

The output is the following:

[...]
No package found that provides library: libssl.so.1.0.0
builder for '/nix/store/224l5rd43k5a153p0lh7ksz8xnlsyqd7-lldb-2.0.2558144.drv' failed with exit code 1
cannot build derivation '/nix/store/cf8kpm9akyr2z5pb2czv0sp0n06ghjny-androidsdk.drv': 1 dependencies couldn't be built
error: build of '/nix/store/cf8kpm9akyr2z5pb2czv0sp0n06ghjny-androidsdk.drv' failed

openssl version output is the following:

$ openssl version
OpenSSL 1.1.1d  10 Sep 2019

Now, I don't think it is possible to downgrade to a prior version of OpenSSL, and I was wondering if there was a workaround to this problem.

I’m on nixos-19.09 channel.

@mikefaille
Copy link

mikefaille commented Oct 20, 2019

@cguertin14 To put in words your logs, the package lddb from androidsdk import on the default openssl version for your system if openssl version hasn't been override somewhere else.

As seen :
https://github.com/NixOS/nixpkgs/blob/release-19.09/pkgs/development/mobile/androidenv/compose-android-packages.nix#L132

And,

++ lib.optional (os == "linux") [ pkgs.glibc pkgs.stdenv.cc.cc pkgs.zlib pkgs.openssl.out pkgs.ncurses5 ];

from :
https://github.com/NixOS/nixpkgs/blob/release-19.09/pkgs/development/mobile/androidenv/lldb.nix#L6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants