Compiling on Arch Linux (switch back to openssl 1.0)

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
qupfer
Posts: 198
Joined: Wed Jul 10, 2013 2:07 pm

Compiling on Arch Linux (switch back to openssl 1.0)

Post by qupfer » Wed Jul 05, 2017 2:39 pm

I'm trying to compile SoftEther on an archlinux system.
The default openssl version of arch is openssl1.1, but as far as i know, SoftEther needs openssl1.0.

So I installed additional the openss1.0 package, where are the header files in:
/usr/include/openssl-1.0/openssl/

and the libs:
/usr/lib/openssl-1.0/

I modify the two lines in the Makefile:

OPTIONS_COMPILE_RELEASE=-DNDEBUG -DVPN_SPEED -DUNIX -DUNIX_LINUX -DCPU_64 -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -I./src/ -I./src/Cedar/ -I./src/Mayaqua/ -O2 -fsigned-char -m64 -I/usr/include/openssl-1.0/

OPTIONS_LINK_RELEASE=-O2 -fsigned-char -m64 -lm -ldl -lrt -lpthread -l:libssl.so.1.0.0 -l:libcrypto.so.1.0.0 -lreadline -lncurses -lz

And i think, I got realy far, but not to the end.
I got this error:

tmp/objs/Mayaqua/Network.o: In function `StartSSLEx':
Network.c:(.text+0xae96): undefined reference to `SSLv3_method'
collect2: Fehler: ld gab 1 als Ende-Status zurück
make: *** [Makefile:316: tmp/hamcorebuilder] Fehler 1

Any ideas? Thanks

thisjun
Posts: 2090
Joined: Mon Feb 24, 2014 11:03 am

Re: Compiling on Arch Linux (switch back to openssl 1.0)

Post by thisjun » Wed Jul 12, 2017 7:32 am


Post Reply