Unable to make - getting error undefined reference to crypt

General support questions
Post Reply
ysubramanian33
Posts: 1
Joined: 2017/07/10 17:32:05

Unable to make - getting error undefined reference to crypt

Post by ysubramanian33 » 2017/07/10 17:36:14

Hi,
I downloaded shrew vpn software in centos 6 and am getting the following error
[yeshwant@vl50 ike]$ make
[ 1%] Built target ss_ith
[ 2%] Built target ss_log
[ 5%] Built target ss_idb
[ 11%] Built target ss_ike
[ 21%] Built target ss_ip
[ 22%] Built target ss_pfk
Linking CXX executable iked
CMakeFiles/iked.dir/ike.xauth.o: In function `_IKED_XAUTH_LOCAL::auth_pwd(_IKE_XAUTH&)':
ike.xauth.cpp:(.text+0x1a3): undefined reference to `crypt'
collect2: ld returned 1 exit status
make[2]: *** [source/iked/iked] Error 1
make[1]: *** [source/iked/CMakeFiles/iked.dir/all] Error 2
make: *** [all] Error 2


Any help on resolving it would be appreciated
Thanks

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Unable to make - getting error undefined reference to crypt

Post by TrevorH » 2017/07/10 18:15:05

It's already packaged and in EPEL.

yum install epel-release
yum install ike


Done.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply