Discussion:
Problem install shrew vpn client
(too old to reply)
Maykel Franco via arch-general
2018-09-26 08:47:21 UTC
Permalink
Hi, I received this error when compile the program shrew vpn client:

yaourt -S shrew-vpn-client

/tmp/yaourt-tmp-maykel/aur-shrew-vpn-client/src/ike/source/libike/manager.file.cpp:
In member function 'bool _CONFIG_MANAGER::file_pcf_load(CONFIG&, const
char*, bool&)':
/tmp/yaourt-tmp-maykel/aur-shrew-vpn-client/src/ike/source/libike/manager.file.cpp:682:19:
error: aggregate 'EVP_CIPHER_CTX ctx_cipher' has incomplete type and
cannot be defined
EVP_CIPHER_CTX ctx_cipher;
^~~~~~~~~~
make[2]: *** [source/libike/CMakeFiles/ss_ike.dir/build.make:102:
source/libike/CMakeFiles/ss_ike.dir/manager.file.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 24%] Linking CXX shared library libss_ip.so
[ 25%] Linking CXX shared library libss_pfk.so
[ 25%] Built target ss_ip
[ 25%] Built target ss_pfk
make[1]: *** [CMakeFiles/Makefile2:244:
source/libike/CMakeFiles/ss_ike.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build shrew-vpn-client.



Someone happened to him the same?

Thanks in advanced.
Peter Bauer
2018-11-02 21:25:52 UTC
Permalink
Post by Maykel Franco via arch-general
yaourt -S shrew-vpn-client
In member function 'bool _CONFIG_MANAGER::file_pcf_load(CONFIG&, const
error: aggregate 'EVP_CIPHER_CTX ctx_cipher' has incomplete type and
cannot be defined
EVP_CIPHER_CTX ctx_cipher;
^~~~~~~~~~
should this even be answered here?

https://github.com/openssl/openssl/issues/962#issuecomment-427752560

TLDR;
Post by Maykel Franco via arch-general
So, all existing Software must be rewritten just to be able to use
1.1.x ?
Post by Maykel Franco via arch-general
Do you have any idea how many Million lines of code are affected by
this crap??
Post by Maykel Franco via arch-general
Yes, applications must be changed to use 1.1.x.
brent s.
2018-11-02 21:45:28 UTC
Permalink
Post by Peter Bauer
Post by Maykel Franco via arch-general
yaourt -S shrew-vpn-client
In member function 'bool _CONFIG_MANAGER::file_pcf_load(CONFIG&, const
error: aggregate 'EVP_CIPHER_CTX ctx_cipher' has incomplete type and
cannot be defined
EVP_CIPHER_CTX ctx_cipher;
^~~~~~~~~~
should this even be answered here?
https://github.com/openssl/openssl/issues/962#issuecomment-427752560
TLDR;
Post by Maykel Franco via arch-general
So, all existing Software must be rewritten just to be able to use
1.1.x ?
Post by Maykel Franco via arch-general
Do you have any idea how many Million lines of code are affected by
this crap??
Post by Maykel Franco via arch-general
Yes, applications must be changed to use 1.1.x.
for what it's worth, you may be able to use vpnc[0] or StrongSwan[1] as
an IPSec client. this may be even recommended, as Shrew Soft hasn't
released an update for 5 years.

that being said, the dependencies for the PKGBUILD should be changed to
use openssl-1.0[2] instead of openssl.

you may need to further update the cmake line (or patch the
CMakeLists.txt) to point explicitly to the proper openSSL path (for
openssl-1.0 instead of the default-provided v1.1.x), but i'm not as
familiar with cmake to recommend how to do this.

honestly, i'd recommend just moving away from Shrew Soft if possible and
instead use something that is actively maintained. I strongly recommend
StrongSwan.




[0] https://wiki.archlinux.org/index.php/Vpnc
[1] https://wiki.archlinux.org/index.php/StrongSwan
[2] https://www.archlinux.org/packages/core/x86_64/openssl-1.0/
--
brent saner
https://square-r00t.net/
GPG info: https://square-r00t.net/gpg-info
Joan Figueras via arch-general
2018-11-02 23:34:22 UTC
Permalink
Post by Maykel Franco via arch-general
yaourt -S shrew-vpn-client
In member function 'bool _CONFIG_MANAGER::file_pcf_load(CONFIG&, const
error: aggregate 'EVP_CIPHER_CTX ctx_cipher' has incomplete type and
cannot be defined
EVP_CIPHER_CTX ctx_cipher;
^~~~~~~~~~
source/libike/CMakeFiles/ss_ike.dir/manager.file.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 24%] Linking CXX shared library libss_ip.so
[ 25%] Linking CXX shared library libss_pfk.so
[ 25%] Built target ss_ip
[ 25%] Built target ss_pfk
source/libike/CMakeFiles/ss_ike.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build shrew-vpn-client.
Someone happened to him the same?
Thanks in advanced.
I've just posted a patch to build shrew in AUR:

https://aur.archlinux.org/packages/shrew-vpn-client/#news


Cheers

Joan
Maykel Franco via arch-general
2018-11-03 09:27:40 UTC
Permalink
El sáb., 3 nov. 2018 0:34, Joan Figueras via arch-general <
Post by Joan Figueras via arch-general
Post by Maykel Franco via arch-general
yaourt -S shrew-vpn-client
In member function 'bool _CONFIG_MANAGER::file_pcf_load(CONFIG&, const
error: aggregate 'EVP_CIPHER_CTX ctx_cipher' has incomplete type and
cannot be defined
EVP_CIPHER_CTX ctx_cipher;
^~~~~~~~~~
source/libike/CMakeFiles/ss_ike.dir/manager.file.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 24%] Linking CXX shared library libss_ip.so
[ 25%] Linking CXX shared library libss_pfk.so
[ 25%] Built target ss_ip
[ 25%] Built target ss_pfk
source/libike/CMakeFiles/ss_ike.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build shrew-vpn-client.
Someone happened to him the same?
Thanks in advanced.
https://aur.archlinux.org/packages/shrew-vpn-client/#news
Cheers
Joan
Thanks everybody.

I use the ike client un the command línea and it works.
Loading...