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

27.03.20 19:29, Alexander Leidinger пишет:

Quoting Alexandr Krivulya <shur...@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 alexan...@leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netch...@freebsd.org  : PGP 0x8F31830F9F2772BF

Attachment: pgpN8kisAC0S8.pgp
Description: Digitale PGP-Signatur

Reply via email to