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

Unable to install conf-ssl #12876

Closed
abhi18av opened this issue Oct 26, 2018 · 3 comments
Closed

Unable to install conf-ssl #12876

abhi18av opened this issue Oct 26, 2018 · 3 comments

Comments

@abhi18av
Copy link

abhi18av commented Oct 26, 2018

Hello everyone,

I was trying to install the slacko package for automating the slack-ops and I am unable to install this due to a failure to install conf-ssl package.

On deeper analysis, I guess this might be due to the fact that conda has setup it's own openssl in the conda-specific environment

The output of which openssl is

linux-1s35:~ # which openssl
/root/miniconda3/bin/openssl


linux-1s35:~/miniconda3/lib # ls | grep '.*ssl.*'
libssl.a
libssl.so
libssl.so.1.0.0

And the output of install conf-openssl is as follows

linux-1s35:~/miniconda3/lib # opam install slacko --verbose
[WARNING] Running as root is not recommended
The following actions will be performed:
  - install conf-openssl 1      [required by ssl]
  - install ssl          0.5.6  [required by slacko]
  - install slacko       0.14.1
===== 3 to install =====
Do you want to continue? [Y/n] y

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[slacko.0.14.1] found in cache
[ssl.0.5.6] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/pkg-config "openssl" (CWD=/root/.opam/default/.opam-switch/build/conf-openssl.1)
[ERROR] The compilation of conf-openssl failed at "/usr/bin/pkg-config openssl".

#=== ERROR while compiling conf-openssl.1 =====================================#
# context     2.0.0 | linux/x86_64 | ocaml-base-compiler.4.07.1 | https://opam.ocaml.org#27ae4ff1
# path        ~/.opam/default/.opam-switch/build/conf-openssl.1
# command     /usr/bin/pkg-config openssl
# exit-code   1
# env-file    ~/.opam/log/conf-openssl-23371-c61e7b.env
# output-file ~/.opam/log/conf-openssl-23371-c61e7b.out



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions were aborted
| - install slacko 0.14.1
| - install ssl    0.5.6
+- 
+- The following actions failed
| - build conf-openssl 1
+- 
- No changes have been performed
'opam install slacko --verbose' failed.

@Mishio595
Copy link
Contributor

I encountered this issue and ensuring I had the proper system dependencies resolved it. Check the depexts for conf-openssl for your os-distribution and ensure you have this installed.

@gabrik
Copy link

gabrik commented Feb 8, 2019

I have the same issue on Windows 10 with

$ opam switch
#   switch                          compiler                        description
->  ocaml-variants.4.07.1+mingw64c  ocaml-variants.4.07.1+mingw64c  ocaml-variants.4.07.1+mingw64c

$ opam-depext.exe
# Detecting depexts using vars: arch=x86_64, os=win32, os-distribution=cygwinports, os-family=windows

openssl in installed in cygwin, but I see that in the conf-ssl opam file there are no depexts for such environment, so no possibility to install it?

@github-actions
Copy link
Contributor

This issue is stale because it has been open 90 days with no activity. Remove the stale label, or comment, or this will be closed in 15 days.

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

3 participants