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

[-- Attachment #1 --]

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

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

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

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

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

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

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

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

Bye,
Alexander.

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

[-- Attachment #2 --]
-----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-----

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