Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2020 18:29:46 +0100
From:      Alexander Leidinger <Alexander@leidinger.net>
To:        Alexandr Krivulya <shuriku@shurik.kiev.ua>
Cc:        emulation@freebsd.org
Subject:   Re: Zoom and linuxolator
Message-ID:  <20200327182946.Horde.egf4DVrZ1lNTU9lJxNuaLNc@webmail.leidinger.net>
In-Reply-To: <5c2ffd8e-fc90-a5d2-f237-47692c71c9d3@shurik.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format and has been PGP signed.

--=_McO0P56DtR3fkLmxD54q_dC
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


Quoting Alexandr Krivulya <shuriku@shurik.kiev.ua> (from Fri, 27 Mar=20=20
2020=2015:21:49 +0200):

> Hi, emulation@ !
>
> I'm trying to start Linux version of Zoom client [1] on my FreeBSD=20=20
>=20(latest head) and I have two questions:
>
> 1. Why I need to copy all libraries from Zoom binary folder to=20=20
>=20/compat/linux/lib64 because they are not found when application=20=20
>=20starts.

Libraries (no matter if for FreeBSD or Linux) are searched in fixed=20=20
locations=20(if they are linked into a binary the normal way). You can=20=
=20
add=20other locations either globally by adding it to the ldconfig path=20=
=20
(for=20linux it is a different setting than for FreeBSD binaries), or=20=20
you=20can set the LD_LIBRARY_PATH variable to add the new location per=20=
=20
program.

For=20FreeBSD see "man ldconfig" (for LD_LIBRARY_PATH, will be picked up=20=
=20
by=20linux and FreeBSD, so don't set it globally but only for specific=20=
=20
programs)=20and "man rc.conf" (for ldconfig_* variables which denote the=20=
=20
global=20search path for FreeBSD).

For Linux I don't find the right global variable right now. We used to=20=
=20
have=20one.

> 2. After all shared libraries are copied application starts and=20=20
>=20crashed with following error:

> Assertion 'pthread_mutex_unlock(&m->mutex) =3D=3D 0' failed at=20=20
>=20pulsecore/mutex-posix.c:108, function pa_mutex_unlock(). Aborting.

Unfortunately this doesn't give enough info about what's wrong.=20=20
Someone=20would have to investigate with ktrace and/or DTrace.

Bye,
Alexander.

--=20
http://www.Leidinger.net=20Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF

--=_McO0P56DtR3fkLmxD54q_dC
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJefjgKAAoJEBINsJsD+NiGoNEP/RUk1KZ9QOXftRlnTq5AP3ye
5H0hRz5ovRsIV0XHGTZspi5+lXqF0kswmAfebD2J90vKeytibCxIkbl6gCcL067h
BktOFc2YPl/AvaBiafXPe2v7YLd3GpJsVawE/7ae4gME2oXVXsu737CWTv3GqFFI
Efy5eeKc9B4REgxlKiEruwVhDePyT/JPGVmq0cN0aZFSSrweuQ/mMHRtDV7reiir
JjJ6xND+dc/GlqGnW0Iu7VrHlItAKlg9a1CBbuPpz04DFw/uMoh7i3jYGFhLu83+
DH1ABB8Wfl1T1e0Lm7mFJeqD+lOrnGlIrNoBfErTRJ2Jvjbz4y8UUrspMSMG9sbX
2b8JSADy3iB1oUe/2S1kvfCLr9w4m9BeZKW4xPPUuxr+VcfjoolPc/W7GEputKNz
In2KngKKutYshs/FB8qoSiGPpNXqLa/P+PVQ7qMj0r70j0j/2zDikIn4LyTDrnJq
En3xsqMJ9Chg7n05WpV3r5xDFKRYBTyQh7iUMb6uz5A07KR7PWgT7S6XwdBzFTqo
R8T50v9gZgiFcE0eAs5HGz8MANRpovM3TahtrYLCxNS0X05CmHgSTOhdUmuKS08Q
SImdYN35rW/CJ4Q38Qt5hYploRhAjb2XLSc+ateazhAoi3blg2rAlsIOAmKCaGQR
FuqSLppIisZEso3svamm
=B5vX
-----END PGP SIGNATURE-----

--=_McO0P56DtR3fkLmxD54q_dC--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200327182946.Horde.egf4DVrZ1lNTU9lJxNuaLNc>