Compiled Successfully on Alpine - Can I use binaries on other machines?

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
melnry
Posts: 1
Joined: Wed Aug 07, 2019 11:28 am

Compiled Successfully on Alpine - Can I use binaries on other machines?

Post by melnry » Thu Aug 08, 2019 10:32 am

Hi,

I was able to get SoftEther to compile successfully and run on Alpine Linux.
But I would like to simply copy the binaries to another identical Alpine Linux machine and run them.
Is this possible?
I did this, and on the new alpine linux box I'm getting the errors:
Error loading shared library libcedar.so: No such file or directory (needed by ./vpnserver)
Error loading shared library libmayaqua.so: No such file or directory (needed by ./vpnserver)
Error relocating ./vpnserver: InitProcessCallOnce: symbol not found
Error relocating ./vpnserver: FreeCedar: symbol not found
Error relocating ./vpnserver: UnixService: symbol not found
Error relocating ./vpnserver: InitCedar: symbol not found
Error relocating ./vpnserver: StFree: symbol not found
Error relocating ./vpnserver: StInit: symbol not found
Error relocating ./vpnserver: StStopServer: symbol not found
Error relocating ./vpnserver: StStartServer: symbol not found
Error relocating ./vpnserver: VgUseStaticLink: symbol not found

Those files do exist in the same folder, here is the ls:
ls
hamcore.se2 libcedar.so vpnbridge vpncmd vpntest
lang.config libmayaqua.so vpnclient vpnserver

Any ideas on what I'm doing wrong? It was a pain to compile on the previous machine. Would love to be able to simply copy the binaries over to the other ones without the need to compile on each machine. All Alpine boxes are the same config and are virtual machines. Also running them as root.

Thanks!

##### Figured it out######
Was missing the library files. Found the list of the ones needed in the install_manifext.txt file created after I ran make -C tmp install
Used cat listOfFolders.txt | zip -r@ part1.zip to zip up the list of files in the text file, and unziped them on remote machine.
Binaries now run on new machines.
Used the instructions here to compile under heading: build on musl-based linux
https://github.com/SoftEtherVPN/SoftEth ... LD_UNIX.md

Post Reply