現象
Debian9にSoftEtherVPNを(バイナリ)インストールできない。
# wget http://jp.softether-download.com/files/softether/v4.25-9656-rtm-2018.01.15-tree/Linux/SoftEther_VPN_Client/64bit_-_Intel_x64_or_AMD64/softether-vpnclient-v4.25-9656-rtm-2018.01.15-linux-x64-64bit.tar.gz -O /tmp/softether-vpnclient.tar.gz # tar -xzvf /tmp/softether-vpnclient.tar.gz -C /usr/local/ # cd /usr/local/vpnclient # make i_read_and_agree_the_license_agreement …省略… /usr/bin/ld: lib/libintelaes.a(intel_aes.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status Makefile:18: recipe for target 'i_read_and_agree_the_license_agreement' failed make: *** [i_read_and_agree_the_license_agreement] Error 1
環境
- Debian 9.3
- SoftEtherVPN 4.25
対策
recompileと言われているので、ソースからインストール。
# cd /tmp # git clone https://github.com/SoftEtherVPN/SoftEtherVPN_Stable.git # cd SoftEtherVPN_Stable # ./configure # make # make install
参考
How to build SoftEther VPN for UNIX - SoftEther VPN Project
備考
vpncmdが必要だったので、vpnclientやvpnserverは動作させていません。