Mon Feb 5 20:40:36 2024 us=172773 OpenVPN 2.4.9 i686-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on May 2 2020
Mon Feb 5 20:40:36 2024 us=172945 library versions: OpenSSL 1.1.1w 11 Sep 2023, LZO 2.10
Mon Feb 5 20:40:36 2024 us=173564 PO_INIT maxevents=4 flags=0x00000002
Mon Feb 5 20:40:36 2024 us=186835 OpenSSL: error:25066067:DSO support routines:dlfcn_load:could not load the shared library
Mon Feb 5 20:40:36 2024 us=187016 OpenSSL: error:25070067:DSO support routines:DSO_load:could not load the shared library
Mon Feb 5 20:40:36 2024 us=187167 OpenSSL: error:0E07506E:configuration file routines:module_load_dso:error loading dso
Mon Feb 5 20:40:36 2024 us=187310 OpenSSL: error:0E076071:configuration file routines:module_run:unknown module name
Mon Feb 5 20:40:36 2024 us=187452 OpenSSL: error:0909006C:PEM routines:get_name:no start line
Mon Feb 5 20:40:36 2024 us=187571 Error reading extra certificate
Mon Feb 5 20:40:36 2024 us=187684 Exiting due to fatal error
... But noticed the build script created a huge 2MB file ???Since we don't know which build script you used, we can
Extension.tcz <-- Programs and libraries get stripped to reduce size.I don't see that happening in the script. The other thing I don't see
export CFLAGS="-march=i486 -mtune=i686 -Os -pipe"
export CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe"
export LDFLAGS="-Wl,-O1"
Extension-dev.tcz <-- Development files, headers (.h), static libraries (.a), .pc, etc.I doubt that's it. It's only 2 header files.
Extension-doc.tcz <-- Document files, man pages, etc.This may be part of it. The man pages look like they are about 150K to 200K.
Extension-locale.tcz <-- Language files, .mo, etc.No language files, so that's not it.
"gcc -s" removes the relocation information along with the symbol table which is not done by "strip". Note that, removing relocation information would have some effect on Address space layout randomization. See this link.http://en.wikipedia.org/wiki/Address_space_layout_randomization
The EXPORT lines from Rich helped. Size is down to 600K including the man page.Then I'd say that's the explanation. From the current
Title: openvpn.tcz
Description: OpenVPN - Open Source Virtual Private Network
Version: 2.4.9
Author: Various (see /usr/local/share/doc/openvpn/License/openvpn-authors.txt)
Original-site: http://openvpn.net
Copying-policy: GPL (see /usr/local/share/doc/openvpn/License/openvpn-copying.txt)
Size: 576KB
Extension_by: gutmensch, gnuser
Tags: VPN connection network OpenVPN
Comments: For client access use:
$ sudo openvpn --config /path/to/your/conf
484K Feb 7 12:14 openvpn.tcz