[strongSwan] Issue with loading critical plugin features (using strongswan -5.2.2)
Chinmaya Dwibedy
ckdwibedy at yahoo.com
Thu Jan 19 08:52:38 CET 2017
Hi All,
Good Morning!!!
The `configure'shell script attempts to guess correct values for varioussystem-dependent variables used during compilation. It uses those values tocreate a `Makefile' in each directory of the package. >From the build logs, Ifind it does not build shared libraries. Here goes the log. checking forx86_64-wrs-linux-gcc... x86_64-wrs-linux-gcc -m64 -march=corei7 -mtune=corei7-mfpmath=sse -msse4.2--sysroot=/opt/windriver/wrlinux-cgl/8.0-intel-x86-64/sysroots/corei7-64-wrs-linux
checking whetherthe C compiler works... yes
checking for Ccompiler default output file name... a.out
checking for suffixof executables...
checking whether weare cross compiling... yes
--------------------------------------------------------
--------------------------------------------------------
checking whetherthe x86_64-wrs-linux-gcc -m64 -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2--sysroot=/opt/windriver/wrlinux-cgl/8.0-intel-x86-64/sysroots/corei7-64-wrs-linuxlinker (x86_64-wrs-linux-g++ -m64 -march=corei7 -mtune=corei7 -mfpmath=sse-msse4.2--sysroot=/opt/windriver/wrlinux-cgl/8.0-intel-x86-64/sysroots/corei7-64-wrs-linux-m elf_x86_64) supports shared libraries... no
checking dynamiclinker characteristics... GNU/Linux ld.so
checking how tohardcode library paths into programs... unsupported
checking whetherstripping libraries is possible... yes
checking if libtoolsupports shared libraries... no
checking whether tobuild shared libraries... no
checking whether tobuild static libraries... yes
The strongswan doc(at https://wiki.strongswan.org/issues/1299) says, we can't build the Charon daemon completely statically. As a result of whichwhen I run on Wind River Linux system , Charon aborts . Can anyone pleaseconfirm if the below crash/abort issue is because shared libraries are not being built ?
[root at TEMP/MEG-1]opt# /opt/sbin/ipsec start --nofork
Starting strongSwan5.2.2 IPsec [starter]...
00[DMN] StartingIKE charon daemon (strongSwan 5.2.2, Linux 4.1.21-WR8.0.0.6_cgl, x86_64)
00[LIB] featureCUSTOM:libcharon in critical plugin 'charon' has unmet dependency: NONCE_GEN
00[LIB] featureCUSTOM:libcharon-receiver in critical plugin 'charon' has unmet dependency:HASHER:HASH_SHA1
00[LIB] failed toload 2 critical plugin features
00[DMN]initialization failed - aborting charon
charon has quit:initialization failed
charon refused tobe started
ipsec starterstopped
[root at TEMP/MEG-1]opt#charon refused to be started
ipsec starterstopped
I also used --enable-shared& --enable-monolithic configure option but got the same issue .Can anyone please let me know what might be the cause behind the below (i.e., thelinker does not support shared libraries) and how to get rid of this issue?
checking whetherthe x86_64-wrs-linux-gcc -m64 -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2--sysroot=/opt/windriver/wrlinux-cgl/8.0-intel-x86-64/sysroots/corei7-64-wrs-linuxlinker (x86_64-wrs-linux-g++ -m64 -march=corei7 -mtune=corei7 -mfpmath=sse-msse4.2--sysroot=/opt/windriver/wrlinux-cgl/8.0-intel-x86-64/sysroots/corei7-64-wrs-linux-m elf_x86_64) supports shared libraries... no
Thank you inadvance for your time and support. Anticipating an early response.
Regards,
Chinmaya
On Tuesday, January 17, 2017 4:33 PM, Chinmaya Dwibedy <ckdwibedy at yahoo.com> wrote:
Hi,
I am using the following configure options(using strongswan -5.2.2)
./configure --prefix=/opt/chinmaya/--sysconfdir=/opt/ chinmaya /etc --libdir=/opt/ chinmaya /lib--enable-load-tester --enable-ctr --enable-ccm --enable-gcm --enable-vici--enable-error-notify --enable-opensslWhile trying to start the Charon on Wind RiverLinux , getting the below errors [root at local TEMP/MEG-1] opt# ./chinmaya/sbin/ipsecstart --noforkStarting strongSwan 5.2.2 IPsec[starter]...00[DMN] Starting IKE charon daemon(strongSwan 5.2.2, Linux 4.1.21-WR8.0.0.6_cgl, x86_64)00[LIB] feature CUSTOM:libcharon incritical plugin 'charon' has unmet dependency: NONCE_GEN00[LIB] feature CUSTOM:libcharon-receiverin critical plugin 'charon' has unmet dependency: HASHER:HASH_SHA100[LIB] failed to load 2 critical pluginfeatures00[DMN] initialization failed - abortingcharoncharon has quit: initialization failedcharon refused to be startedipsec starter stopped[root at local TEMP/MEG-1] opt# Can anyone please let me know what are the criticalplugin features it fails to load and aborting ? Thank you in advance for yoursupport and time.
Regards,Chinmaya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20170119/cd1e08e3/attachment-0001.html>
More information about the Users
mailing list