Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76382 - xorg locale problem
Summary: xorg locale problem
Status: RESOLVED DUPLICATE of bug 76537
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-02 00:04 UTC by Byeong-taek Lee
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output of qpkg -l xorg-x11 (xorg_locale.txt,518.50 KB, text/plain)
2005-01-02 21:28 UTC, Byeong-taek Lee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Byeong-taek Lee 2005-01-02 00:04:10 UTC
I upgraded xorg from 6.8.0-r3 to 6.8.0-r4.
When I run the matlab with an option "-nojvm" after upgrading,
I encounter an warning message following:

"Warning: Unable to initialize X locale."

I can look at the message in the OpenOffice.
This issue also applies to xorg-6.8.1.901 version.
I think that this problem was caused from the change of locale directory.
In xorg 6.8.0-r3, locale directory was at /usr/X11R6/lib/X11/locale, 
while following version placed it to /usr/lib/X11/locale.
This message didnot influence at my work actually, but it's a little nuisance.


Reproducible: Always
Steps to Reproduce:
1. emerge xorg-x11
2. launching X
3. run some application (e.g. matlab 6 or openoffice under 32bit emulation

Actual Results:  
display "Warning: Unable to initialize X locale."


Expected Results:  
no warning message
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-02 17:52:35 UTC
You're on AMD64, I presume?
Comment 2 Byeong-taek Lee 2005-01-02 18:29:18 UTC
yes, my platform is on amd64.
sorry for my incompleteness.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-02 19:17:22 UTC
See if this fixes the problem:

cd /usr/X11R6
ln -s ../lib
Comment 4 Byeong-taek Lee 2005-01-02 19:48:48 UTC
Already lib link exist.
Directory structure is as following:

btlee X11R6 # pwd
/usr/X11R6

btlee X11R6 # ls -l
total 24
drwxr-xr-x  2 root root 4096 Jan  2 00:33 bin
drwxr-xr-x  8 root root 4096 Jan  2 00:33 include
lrwxrwxrwx  1 root root    5 Dec  4 15:02 lib -> lib64
lrwxrwxrwx  1 root root   36 Dec 28 14:15 lib32 -> ../../emul/linux/x86/usr/X11R6/lib32
drwxr-xr-x  3 root root 8192 Jan  2 00:33 lib64
drwxr-xr-x  6 root root 4096 Aug  5 19:05 man
drwxr-xr-x  2 root root 4096 Dec 16 09:28 share
btlee X11R6 # 

By the way, if I run the command "ln -s ../lib ./"
still the same problem occurs.
When I run that, /usr/X11R6/lib has lib and lib64 files, which link to ../lib or ../lib64, respectively.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-02 20:55:29 UTC
Could you attach the output of `qpkg -l xorg-x11` as a text file, please? I'm not clear on exactly how the 64-bit stuff is being handled right now.
Comment 6 Byeong-taek Lee 2005-01-02 21:28:05 UTC
Created attachment 47431 [details]
output of qpkg -l xorg-x11

here is what you want.
thanks.
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-02 21:51:45 UTC
donnie@supernova ~ $ qpkg -l xorg-x11 | grep X11R6/lib
/usr/X11R6/lib -> ../lib 1103850638

What's the output when you run that?
Comment 8 Byeong-taek Lee 2005-01-02 22:22:28 UTC
If i run `qpkg -l xorg-x11 | grep X11R6/lib`
the output is nothing.

My directory structure is as following
btlee@btlee /usr/X11R6 $ ls -l
total 24
drwxr-xr-x  2 root root 4096 Jan  2 00:33 bin
drwxr-xr-x  8 root root 4096 Jan  2 00:33 include
lrwxrwxrwx  1 root root    5 Dec  4 15:02 lib -> lib64
lrwxrwxrwx  1 root root   36 Jan  2 21:42 lib32 -> ../../emul/linux/x86/usr/X11R6/lib32
drwxr-xr-x  3 root root 8192 Jan  2 19:45 lib64
drwxr-xr-x  6 root root 4096 Aug  5 19:05 man
drwxr-xr-x  2 root root 4096 Dec 16 09:28 share
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-02 22:24:36 UTC
Can some amd64 person tell me what the directory structure is supposed to be? I have no clue with lib, lib32, lib64 ...
Comment 10 Simon Stelling (RETIRED) gentoo-dev 2005-01-03 09:02:03 UTC
lib32 is a symlink to the emul-libs, lib is a link to lib64 and all (64bit-)libraries should go into lib64. from the directory structure i'd say everything is ok, but qpkg -l xorg-x11 | grep X11R6/lib64 gives plenty of output here, also ...grep X11R6/lib
Comment 11 Marcus D. Hanwell (RETIRED) gentoo-dev 2005-01-03 09:59:10 UTC
On my system /usr/lib32 is a link to /emul/linux/x86/usr/lib and is all 32 bit emulation libs. /usr/lib64 is a link to lib and is all 64 bit. qpkg -l xorg-x11 | grep X11R6/lib64 gives just '/usr/X11R6/lib64 -> ../lib64 1104543297' on my system with xorg-x11-6.8.1.901 merged. Hope that helps.
Comment 12 Byeong-taek Lee 2005-01-03 11:03:46 UTC
When I link /usr/X11R6/lib64 into ../lib64,
still same error happened.
my emerge info is as follows:

[ebuild   R   ] x11-base/xorg-x11-6.8.1.901  (-3dfx) (-3dnow) +bitmap-fonts +cjk -debug -dlloader -dmx -doc -font-server -hardened -insecure-drivers -ipv6 -minimal (-mmx) +nls +opengl +pam -sdk (-sse) -static +truetype-fonts +type1-fonts (-uclibc) +xprint +xv 0 kB 

Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r
0, 2.6.10-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Sep 24 2004, 14:26:07)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.6.3, 1.7.9, 1.4_p6, 1.9.3, 1.8.5-r2
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=k8 -pipe -fomit-frame-pointer -ffast-math -funit-at-a-time -f
peel-loops -ftracer -funswitch-loops"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1
1/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=k8 -pipe -fomit-frame-pointer -ffast-math -funit-at-a-time 
-fpeel-loops -ftracer -funswitch-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.seren.com/g
entoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gg3.net/pub/lin
ux/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ http://mirror.gentoo.gr.jp http://ft
p.gentoo.or.kr/ ftp://212.219.56.131/sites/www.ibiblio.org/gentoo/ ftp://212.219
.56.152/sites/www.ibiblio.org/gentoo/"
LDFLAGS=""
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d acl acpi alsa berkdb bitmap-fonts cdr cjk crypt cups esd f77 
faad fam foomaticdb fortran gdbm gif gimp-print gnome gstreamer gtk2 imagemagick
 ipv6 jp2 jpeg lzw lzw-tiff mad mikmod motif mozilla multilib nautilus nls nptl 
oggvorbis opengl oss pam pda pdflib perl png python readline samba sdl slang tcl
tk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml xml2 xpm xp
rint xrandr xv zlib
Comment 13 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-03 12:04:01 UTC
Marcus, what's the output of that grep without the 64, so it matches both "lib" and "lib64" stuff?
Comment 14 Marcus D. Hanwell (RETIRED) gentoo-dev 2005-01-03 17:09:41 UTC
Donnie - exactly the same as the output with the 64.
Comment 15 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-13 16:15:34 UTC

*** This bug has been marked as a duplicate of 76537 ***