You are not logged in.

#1 2020-05-08 17:21:14

blablubs82352
Member
Registered: 2016-09-25
Posts: 21

[SOLVED] ld gives error messages in wrong language

Hi,

I have a nasty problem with the linking program ld.
And possibly some others.
I'm programming a project c++ with cmake so there is some stack of gcc and ld.
Since a while ld gives me linking error messages in russian. So I have to translate them.
I checked my locale -a, seems ok. Didn't found any ld configs in /etc/

C
de_DE
de_DE@euro
de_DE.iso88591
de_DE.iso885915@euro
de_DE.utf8
deutsch
german
POSIX

It's no specific messages like:
неопределённая ссылка на  : undefined reference to
Also when compiling with another ubuntu, ld is giving me according messages in english.
But yaourt is also giving me sometimes messages like:
Проверка сборки на ошибки... :Checking the assembly for errors ... Not sure where this comes from.

Anybody ideas? It's no big problem, but somehow annoying. I didn't learned enough russian in school. wink

Last edited by blablubs82352 (2020-05-08 19:47:29)

Offline

#2 2020-05-08 18:01:33

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,363

Re: [SOLVED] ld gives error messages in wrong language

locale -a only tells you which locales are generated, not which are set, what about

locale
localectl
printenv | grep -E 'LC|LANG'

?

Offline

#3 2020-05-08 19:45:57

blablubs82352
Member
Registered: 2016-09-25
Posts: 21

Re: [SOLVED] ld gives error messages in wrong language

Found the guilty  environment variable.

~/ printenv | grep -E 'LC|LANG'
LANGUAGE=en_US:de:ru

I was correcting it in the .config files I found. Worked so far.

Offline

Board footer

Powered by FluxBB