You are not logged in.

#1 2015-08-14 05:58:01

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 206

locale and prelink failure

$ sudo prelink -amfR
prelink: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))' failed.

anyone?

Offline

#2 2015-08-14 05:59:17

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 206

Re: locale and prelink failure

$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Offline

#3 2015-08-14 22:32:50

Skatox
Member
From: Venezuela
Registered: 2006-08-25
Posts: 58
Website

Re: locale and prelink failure

Did you solved it? how?


http://www.skatox.com -> Visit my blog about (Linux, Hacking, Java, Windows, Mac Os X, Internet and more......)

Offline

#4 2015-08-16 17:23:36

agent_pumuckl
Member
Registered: 2012-10-27
Posts: 4

Re: locale and prelink failure

There is possibly an update of the prelink package neseccary.

I tried to solve the problem with a downgrade of glibc, gcc, and gcc-libs but this lead to a system that was not bootable anymore! (I had to restore the packages above via chroot...)

Last edited by agent_pumuckl (2015-08-16 17:27:55)

Offline

#5 2015-08-17 04:56:14

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 206

Re: locale and prelink failure

Skatox wrote:

Did you solved it? how?

No. sad

Offline

#6 2015-08-17 05:14:52

Allan
Member
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,904
Website

Re: locale and prelink failure

Have you tried removing all prelinking from binaries first?

Offline

#7 2015-08-17 16:50:24

agent_pumuckl
Member
Registered: 2012-10-27
Posts: 4

Re: locale and prelink failure

As a (termporary) workaround you can do the following:

 sudo LANG="en_DE.UTF-8"  /usr/bin/prelink -amfR  

You may replace the string between the quotes (" ") with your desired locale.

P.S.: LANG="en_US.UTF-8" seems to cause the problem and is not working.

Last edited by agent_pumuckl (2015-08-18 03:43:20)

Offline

#8 2015-08-19 13:38:54

michimichi
Member
Registered: 2015-08-19
Posts: 3

Re: locale and prelink failure

I have the same problem, but with pandoc:

# pandoc                                                                                                                   134 
pandoc: loadlocale.c:131: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))' failed.
zsh: abort (core dumped)  pandoc

LANG="de_DE.UTF-8" does not help, either:

LANG="de_DE.UTF-8" pandoc                                                                                                139 
pandoc: loadlocale.c:131: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))' failed.
zsh: abort (core dumped)  LANG="de_DE.UTF-8" pandoc

Offline

#9 2015-08-19 13:40:25

Allan
Member
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,904
Website

Re: locale and prelink failure

Do you have your locale selected in /etc/locale.gen?  Did it regenerate after updating to glibc-2.22 (check pacman.log).

Offline

#10 2015-08-19 13:48:32

michimichi
Member
Registered: 2015-08-19
Posts: 3

Re: locale and prelink failure

Allan wrote:

Do you have your locale selected in /etc/locale.gen?

Yes:

# grep -v ^# /etc/locale.gen
de_DE.UTF-8 UTF-8  
en_US.UTF-8 UTF-8 
Allan wrote:

Did it regenerate after updating to glibc-2.22 (check pacman.log).

Yes:

[2015-08-12 12:37] [ALPM] upgraded glibc (2.21-4 -> 2.22-1)
[2015-08-12 12:37] [ALPM-SCRIPTLET] Generating locales...
[2015-08-12 12:37] [ALPM-SCRIPTLET]   de_DE.UTF-8... done
[2015-08-12 12:37] [ALPM-SCRIPTLET]   en_US.UTF-8... done
[2015-08-12 12:37] [ALPM-SCRIPTLET] Generation complete.

The same problem is also discussed here, also without solution.

Offline

Board footer

Powered by FluxBB