Page 1 of 1

Can not Compile on Centos 7

Posted: Thu May 11, 2023 2:55 pm
by AlexR
The current SoftEther VPN Server can not be compiled on Centos 7 Systems anymore.

I constantly run into the following error :

[root@SE SoftEtherVPN_Stable]# make
cc -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 -c src/Mayaqua/Cfg.c -o tmp/objs/Mayaqua/Cfg.o
cc -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 -c src/Mayaqua/Encrypt.c -o tmp/objs/Mayaqua/Encrypt.o
src/Mayaqua/Encrypt.c:138:29: schwerwiegender Fehler: openssl/ocsperr.h: Datei oder Verzeichnis nicht gefunden
#include <openssl/ocsperr.h>
^
Kompilierung beendet.
make: *** [tmp/objs/Mayaqua/Encrypt.o] Fehler 1

It´s independent if i´m using the latest Stable ZIP or clone the Stable GIT Repo.

On Centos 8 it is possible to compile

Any ideas ?

Best Regards
Alex

Re: Can not Compile on Centos 7

Posted: Thu May 11, 2023 4:11 pm
by AlexR
I did some other tests :

V4.38 is possible to compile on centos 7.
V4.39 onwards is impossible to compile on centos 7.

Best Regards
Alex