Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2020 19:45:06 +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:  <20200327194506.Horde.wbSBHjShuqishc2dCtfTifi@webmail.leidinger.net>
In-Reply-To: <55345e32-85a1-63a7-57a9-0cceb7210f45@shurik.kiev.ua>
References:  <20200327182946.Horde.egf4DVrZ1lNTU9lJxNuaLNc@webmail.leidinger.net> <55345e32-85a1-63a7-57a9-0cceb7210f45@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 20:27:21 +0200):

> 27.03.20 19:29, Alexander Leidinger пишет:
>>
>> 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.
>
> Is it true even when executable and needed libraries are in the same  
> directory? In my case it is a same directory.

Yes, "." is not in ldconfig_path, you can check yourself via
    grep ldconfig_path /etc/defaults/rc.conf /etc/rc.conf

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

iQIcBAABAgAGBQJefkmxAAoJEBINsJsD+NiGL7wP/ibbrJXNNGKNYotxDCFOHcAC
y6rmLTRzf/n1Oo7AoDmzgS0NhgQoQSnlb6qqFQqzg8cxitDJR0Gu3pjxuoNlT1Gj
pU6bboMZp1VRHPFSb8dz7C6/q5fJJkg1fV0In8XxL4sMxqtH9mYfwQW7VK2O860d
yN5gbY74ClB1mc06fvV29s6duG8+E6PakzEoOqriavrITauSvv2Mmwcd9fXZb0f5
ejVIfNL6WY9SQJSGQTunA+h0Dw7lnBu2mKskk3KNxh7iKNS3vDArOGw0nzey7EAi
loPVX2AWD9PEmeefSlyKXpy3dv5y638vE1hjjisOD9npWR8tJuJ/OJVG0iw+Cdvd
IH4aMytca+obneofG/Jg78OCh1KvXMDpQRfsW35Gq4QlNdHF5n4ViXd1lTtvHdGw
0IfIY+5TDgaGuOBdvxQlJLz0hOHTDdAC40BgrvQwM2CAqBbhaPVqQiHNUCIaHUsB
EPFBW1qXDSM8mMvxcA48p3/Ay+5aqm9bdUrwD4wOsgU841VR/SXuCXJIeNRD6noM
YRlv1Oq5Si7V8IAajSRAJqlqT4RXAc7SUpyr/fqgWwwkMpIuhutHimnHB+z3bmgI
QlVpAFtxHa5ZMs1/8Jtl1LH2sORRAFzNtwUfrHu/llhQm8I0S5HJM2CSU0qyYBb5
61r/hfE3OM9anF7FToER
=6kwq
-----END PGP SIGNATURE-----

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