Gentoo Archives: gentoo-user

From: Damo Brisbane <dhatchett2@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] electron and sslv3
Date: Fri, 01 Sep 2017 20:27:29
Message-Id: CAE5cDqOmJpdjZ_Jng2151yMFrTm8SE3EwaGSMrJhhLM5O03_dw@mail.gmail.com
1 Hello,
2
3 I am having troubles installing dev-util/electron, related to linking in
4 "ssl3" in the final step of the ebuild, from build log:
5
6 /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
7 cannot find -lssl3
8
9
10 FYI on ssl, I only want a "working/current" ssl and/or tls installation and
11 I don't care for the details around the installation other than I would
12 like - as much as possible - "ssl" to be future proof and compatible with
13 current and new installs; in this case I just want electron, and I can't
14 install the package because of this linking error. I can successfully build
15 by hacking the final link step and simply remove the reference to "-lssl",
16 below:
17
18
19 > cd
20 $PORTAGE_TMPDIR/dev-util/electron-1.3.13-r1/work/chromium-52.0.2743.82/out/R
21 > x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--a
22 ....obj/atom/app/electron.atom_main.o obj/libelectron_lib.a
23 o... lib/libnode.so lib/libv8.so -lz -lhttp_parser -lssl -lcrypto -
24
25
26 and compiles fine.
27
28 There are no "ssl" use flags on electron?:
29
30 my build:
31
32 [ebuild N ~] dev-util/electron-1.3.13-r1 USE="proprietary-codecs
33 system-ffmpeg tcmalloc -cups -custom-cflags -gnome -gnome-keyring -hidpi
34 -kerberos -lto (-neon) -pic -pulseaudio (-selinux) {-test}" L10N="en-GB"
35
36
37 from https://packages.gentoo.org/packages/dev-util/electron:
38
39 LOCAL USE FLAGS
40
41
42 - hidpi <https://packages.gentoo.org/useflags/hidpi>
43 - lto <https://packages.gentoo.org/useflags/lto>
44 - pic <https://packages.gentoo.org/useflags/pic>
45 - proprietary-codecs
46 <https://packages.gentoo.org/useflags/proprietary-codecs>
47 - system-ffmpeg <https://packages.gentoo.org/useflags/system-ffmpeg>
48 - tcmalloc <https://packages.gentoo.org/useflags/tcmalloc>
49
50
51
52 FYI, this is state of ssl on my machine:
53
54 * dev-libs/openssl
55 Latest version available: 1.0.2l
56 Latest version installed: 1.0.2l
57
58 * dev-perl/IO-Socket-SSL
59 Latest version available: 2.24.0
60 Latest version installed: 2.24.0
61
62 * dev-perl/Net-SMTP-SSL
63 Latest version available: 1.30.0
64 Latest version installed: 1.30.0
65
66 * dev-perl/Net-SSLeay
67 Latest version available: 1.810.0
68 Latest version installed: 1.810.0
69
70 * net-libs/gnutls
71 Latest version available: 3.5.13
72 Latest version installed: 3.5.13
73
74
75 Any help on how to successfully compile and install electron would be much
76 appreciated.

Replies

Subject Author
Re: [gentoo-user] electron and sslv3 Adam Carter <adamcarter3@×××××.com>