Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636350 - app-emulation/genymotion-bin-2.10.0 - Dependency missing
Summary: app-emulation/genymotion-bin-2.10.0 - Dependency missing
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marco Genasci
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-03 09:34 UTC by Thomas
Modified: 2018-03-29 05:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas 2017-11-03 09:34:22 UTC
I just emerged app-emulation/genymotion-bin-2.10.0 and tried to start it:

$ genymotion 
genymotion: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
$ find /lib64/ /usr/lib64/ | grep libcrypto.so.1.0.0
$ find /lib64/ /usr/lib64/ | grep libcrypto.so
/usr/lib64/libcrypto.so
/usr/lib64/libcrypto.so.41
/usr/lib64/libcrypto.so.41.0.2
$ equery b /usr/lib64/libcrypto.so
 * Searching for /usr/lib64/libcrypto.so ... 
dev-libs/libressl-2.6.0 (/usr/lib64/libcrypto.so.41.0.2)
dev-libs/libressl-2.6.0 (/usr/lib64/libcrypto.so -> libcrypto.so.41.0.2)

LD_PRELOADing does not help:

$ LD_PRELOAD="/usr/lib64/libcrypto.so.41.0.2" genymotion 
genymotion: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
Comment 1 Marco Genasci 2017-11-03 15:56:02 UTC
I think that genymotion-bin cannot working with libressl, but I should investigate.
How did you installed package since dev-libs/openssl is a dependency and openssl and libressl cannot coexist?
Comment 2 Thomas 2017-11-04 07:24:51 UTC
(In reply to Marco Genasci from comment #1)
> How did you installed package since dev-libs/openssl is a dependency and
> openssl and libressl cannot coexist?

I'm using custom ebuilds: The libressl ebuild has this line added:


RDEPEND="=dev-libs/openssl-9999"


and then there's a dummy dev-libs/openssl-9999.ebuild:


# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit multilib-build

DESCRIPTION="This is a fake ebuild to support libressl"
HOMEPAGE="http://www.openssl.org/"
SRC_URI=""

LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 mips ppc ppc64 x86"
IUSE="kerberos static-libs bindist"

DEPEND=">=dev-libs/libressl-2.0.0[static-libs?,${MULTILIB_USEDEP}]"
RDEPEND="${DEPEND}
        app-misc/c_rehash"


I totally forgot about these as they are old, sorry about that.
Comment 3 Marco Genasci 2017-11-04 07:41:30 UTC
If you want use genymotion-bin with libressl you can change two lines in ebuild:

* In RDEPEND variable remove dev-libs/openssl 
* change line (in src_install)
     doins "${MY_PN}"/{libswscale,libavutil,libprotobuf}.so*
  in
     doins "${MY_PN}"/{libswscale,libavutil,libprotobuf,libcrypto}.so*

In that way you use libcrypto provided by genymotion-bin package.
Comment 4 bochkov 2017-11-18 15:23:20 UTC
hi.
new version released Genymotion 2.11.0
Comment 5 Marco Genasci 2017-11-18 16:03:24 UTC
(In reply to bochkov from comment #4)
> hi.
> new version released Genymotion 2.11.0

Shortly will be available.