Hi,

this is a question better suited for openvpn-devel, really...

On Thu, Aug 24, 2017 at 08:12:13PM +0300, Abi Askushi wrote:
> apt-get install libpam0g-dev liblzo2-dev liblz4-dev
[..]
> Then I created a deb file from the above.
> 
> Do I need to install any LZ4 libraries on other devices where the resulting
> openvpn deb file is to be installed?

That depends on whether liblz4-dev installs a shared library (liblz4.so)
or only a static library (liblz4.a).  The static library is fully embedded
into the openvpn binary, so you do not need anything "extra" - for the
dynamic library, you'll likely need "liblz4" on the target system.

> I was thinking that Lz4 tools might not be needed and that LZ4 compression
> will be handled from the kernel. (When installing the deb file without
> installing any LZ4 user space tools I did not receive any warning or error
> and the VPN tunnnel was able to establish)

OpenVPN does not use kernel side compression.

If you can start the openvpn binary, everything that is needed is there
(so, either liblz4.so was already there on the system, or it liblz4.a
was statically linked).

You can find out running "ldd openvpn" on your openvpn binary - if
liblz4.<something> shows up, it needs the dynamic library.  Everything
that does *not* show up is built-in (or not a direct dependency).

gert

-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to