Page 1 of 1

String Library Init Failed.

Posted: Tue Dec 31, 2013 8:59 pm
by lancethepants
So the device I wanted to run softether on uses uclibc. When trying to compile softether, it was apparent that the exisiting libraries were compiled with (e)glibc.
So I compiled an openwrt toolchain based on eglibc, and I made a static binary, so that it doesn't have any external dependencies.
It seems to have compiled fine, and looks as if it will be functional. But when I transferred it to the router and run it, I get...

-- Alert: SoftEther VPN Kernel --
String Library Init Failed.
Please check your locale settings and iconv() libraries.

So I'm not sure what to do to get past this.

Re: String Library Init Failed.

Posted: Thu Mar 18, 2021 2:05 pm
by flimbar
I'm getting this error too.

Re: String Library Init Failed.

Posted: Thu Mar 18, 2021 8:37 pm
by kotten
https://github.com/el1n/OpenWRT-package ... r/issues/6


I am quoting el1n here

Code: Select all

This problem occurs because not set LANG environment variable in OpenWrt.
If you want run softether binary in shell, you need set LANG environment variable.

e.g.

/usr/bin/env LANG=en_US.UTF-8 /usr/bin/vpnclient

I did append this command to init script but regarding this i forget write to README.MD.

Re: String Library Init Failed.

Posted: Fri Jun 11, 2021 1:52 pm
by Mad AlexX
During installation SoftEther at OpenSuse I got the same error:

Code: Select all

-- Alert: SoftEther VPN Kernel --
String Library Init Failed.
Please check your locale settings and iconv() libraries.
And I solved this so:

Code: Select all

zypper install libyui-ncurses15