1 |
On Sat, Sep 2, 2017 at 6:26 AM, Damo Brisbane <dhatchett2@×××××.com> wrote: |
2 |
|
3 |
> Hello, |
4 |
> |
5 |
> I am having troubles installing dev-util/electron, related to linking in |
6 |
> "ssl3" in the final step of the ebuild, from build log: |
7 |
> |
8 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: |
9 |
> cannot find -lssl3 |
10 |
> |
11 |
> |
12 |
> FYI on ssl, I only want a "working/current" ssl and/or tls installation |
13 |
> and I don't care for the details around the installation other than I would |
14 |
> like - as much as possible - "ssl" to be future proof and compatible with |
15 |
> current and new installs; in this case I just want electron, and I can't |
16 |
> install the package because of this linking error. I can successfully build |
17 |
> by hacking the final link step and simply remove the reference to "-lssl", |
18 |
> below: |
19 |
> |
20 |
> |
21 |
> > cd $PORTAGE_TMPDIR/dev-util/electron-1.3.13-r1/work/ |
22 |
> chromium-52.0.2743.82/out/R |
23 |
> > x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--a ....obj/atom/app/electron. |
24 |
> atom_main.o obj/libelectron_lib.a o... lib/libnode.so lib/libv8.so -lz |
25 |
> -lhttp_parser -lssl -lcrypto - |
26 |
> |
27 |
> |
28 |
> and compiles fine. |
29 |
> |
30 |
> There are no "ssl" use flags on electron?: |
31 |
> |
32 |
|
33 |
My first guess would be that your openssl is not compiled with sslv3. The |
34 |
ebuild for electron only asks for >=dev-libs/openssl-1.0.2g:0=[-bindist] |
35 |
not openssl[sslv3]. If that's the problem then there's a bug in electrons |
36 |
ebuild. |
37 |
|
38 |
What does emerge -pv openssl show for use flags? |
39 |
|
40 |
However, ssl is pretty much deprecated these days due to security issues, |
41 |
so unless you have a need to support something that cant do TLS, you're |
42 |
better off leaving it out. Another issue may be that -lssl may be a loose |
43 |
term for SSL+TLS... |