Installation on QNAP TS-269 Pro NAS failed (SOLVED)
Posted: Sun Mar 31, 2013 1:14 am
I attempted to install SoftEther VPN Server on my QNAP TS-269 Pro Machine but failed with following procedures:
1. The NAS is a 64-bit x86 machine
[/opt/source/softether/vpnserver] # uname -m
x86_64
2. Downloaded the corresponding x86_64 files for 64-bit Linux platform
softether-vpnserver-v1.00-9038-rc2-2013.03.28-linux-x64-64bit.tar.gz
3. Ran the make command, it gave error messages shown in Listing 1
4. Ran the en -s command, it gave error messages shwon in Listing 2
Please advise any means to fix the problem.
Listing 1: Error messages using make command
make[1]: Entering directory `/share/MD0_DATA/.qpkg/Optware/source/softether/vpnserver'
Preparing SoftEther VPN Server...
ranlib lib/libcharset.a
ranlib lib/libcrypto.a
ranlib lib/libedit.a
ranlib lib/libiconv.a
ranlib lib/libintelaes.a
ranlib lib/libncurses.a
ranlib lib/libssl.a
ranlib lib/libz.a
ranlib code/vpnserver.a
gcc code/vpnserver.a -O2 -fsigned-char -pthread -m64 -lm -ldl -lrt -lpthread -L./ lib/libssl.a lib/libcrypto.a lib/libiconv.a lib/libcharset.a lib/libedit.a lib/libncurses.a lib/libz.a lib/libintelaes.a -o vpnserver
code/vpnserver.a: could not read symbols: Archive has no index; run ranlib to add one
collect2: ld returned 1 exit status
make[1]: *** [i_read_and_agree_the_license_agreement] Error 1
make[1]: Leaving directory `/share/MD0_DATA/.qpkg/Optware/source/softether/vpnserver'
Listing 2: Error message using nm -s command
nm -s lib/libcharset.a
nm: localcharset.o: File format not recognized
nm: relocatable.o: File format not recognized
1. The NAS is a 64-bit x86 machine
[/opt/source/softether/vpnserver] # uname -m
x86_64
2. Downloaded the corresponding x86_64 files for 64-bit Linux platform
softether-vpnserver-v1.00-9038-rc2-2013.03.28-linux-x64-64bit.tar.gz
3. Ran the make command, it gave error messages shown in Listing 1
4. Ran the en -s command, it gave error messages shwon in Listing 2
Please advise any means to fix the problem.
Listing 1: Error messages using make command
make[1]: Entering directory `/share/MD0_DATA/.qpkg/Optware/source/softether/vpnserver'
Preparing SoftEther VPN Server...
ranlib lib/libcharset.a
ranlib lib/libcrypto.a
ranlib lib/libedit.a
ranlib lib/libiconv.a
ranlib lib/libintelaes.a
ranlib lib/libncurses.a
ranlib lib/libssl.a
ranlib lib/libz.a
ranlib code/vpnserver.a
gcc code/vpnserver.a -O2 -fsigned-char -pthread -m64 -lm -ldl -lrt -lpthread -L./ lib/libssl.a lib/libcrypto.a lib/libiconv.a lib/libcharset.a lib/libedit.a lib/libncurses.a lib/libz.a lib/libintelaes.a -o vpnserver
code/vpnserver.a: could not read symbols: Archive has no index; run ranlib to add one
collect2: ld returned 1 exit status
make[1]: *** [i_read_and_agree_the_license_agreement] Error 1
make[1]: Leaving directory `/share/MD0_DATA/.qpkg/Optware/source/softether/vpnserver'
Listing 2: Error message using nm -s command
nm -s lib/libcharset.a
nm: localcharset.o: File format not recognized
nm: relocatable.o: File format not recognized