String Library Init Failed.

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
lancethepants
Posts: 4
Joined: Thu May 30, 2013 2:23 pm

String Library Init Failed.

Post by lancethepants » Tue Dec 31, 2013 8:59 pm

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.

flimbar
Posts: 10
Joined: Sat Mar 13, 2021 8:04 am

Re: String Library Init Failed.

Post by flimbar » Thu Mar 18, 2021 2:05 pm

I'm getting this error too.

kotten
Posts: 10
Joined: Tue Feb 02, 2021 7:29 am

Re: String Library Init Failed.

Post by kotten » Thu Mar 18, 2021 8:37 pm

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.

Mad AlexX
Posts: 1
Joined: Fri Jun 11, 2021 1:44 pm

Re: String Library Init Failed.

Post by Mad AlexX » Fri Jun 11, 2021 1:52 pm

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

Post Reply