Bug#379962: [Debian-ia32-libs] Bug#379962: ia32-libs: X11 locale libraries are searched for in the wrong place

2006-07-27 Thread Goswin von Brederlow
Daniel Jacobowitz [EMAIL PROTECTED] writes:

 Package: ia32-libs
 Version: 1.14
 Severity: normal

 [EMAIL PROTECTED]:~% strings /emul/ia32-linux/usr/lib/libX11.so.6.2.0 | grep 
 locale
 setlocale
 /usr/share/X11/locale
 /usr/lib/X11/locale

 This means that 32-bit processes using libX11's locale support (like this
 JVM I'm trying to get working) attempt to dlopen shared objects from
 /usr/lib/X11/locale.  I am using an x86_64 system, so those are 64-bit
 libraries, and can not be opened.

 It would be nice if this copy of libX11 looked in the place it installs the
 libraries.

There is nothing we can do about that as that is set at compile time
of Xorg. ia32-libs just repackages the binary files. But you can
override the dir with an environment variable:

http://www.xfree86.org/current/X.7.html:

 XLOCALEDIR
This must point to a directory containing the locale.alias file
and Compose and XLC_LOCALE file hierarchies for all locales. The
default value is __projectroot__/lib/X11/locale.

MfG
Goswin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#379962: [Debian-ia32-libs] Bug#379962: ia32-libs: X11 locale libraries are searched for in the wrong place

2006-07-27 Thread Daniel Jacobowitz
On Thu, Jul 27, 2006 at 12:51:14PM +0200, Goswin von Brederlow wrote:
 There is nothing we can do about that as that is set at compile time
 of Xorg. ia32-libs just repackages the binary files.

If you rebuilt things you could :-)

 But you can
 override the dir with an environment variable:
 
 http://www.xfree86.org/current/X.7.html:
 
  XLOCALEDIR
 This must point to a directory containing the locale.alias file
 and Compose and XLC_LOCALE file hierarchies for all locales. The
 default value is __projectroot__/lib/X11/locale.

I eventually figured this out, via strings.  Should it be in
README.Debian for ia32-libs?

-- 
Daniel Jacobowitz
CodeSourcery


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#379962: [Debian-ia32-libs] Bug#379962: ia32-libs: X11 locale libraries are searched for in the wrong place

2006-07-27 Thread Goswin von Brederlow
tag 379962 - wontfix
thanks

Daniel Jacobowitz [EMAIL PROTECTED] writes:

 On Thu, Jul 27, 2006 at 12:51:14PM +0200, Goswin von Brederlow wrote:
 There is nothing we can do about that as that is set at compile time
 of Xorg. ia32-libs just repackages the binary files.

 If you rebuilt things you could :-)

If we could do that easily we wouldn't have X in ia32-libs.

A feasable fix for this is to get X11 to use the multiarch dirs
(/usr/lib/i486-linux-gnu/) for its locales already. That way we could
keep the 32bit locales where they are without causing file conflicts.

 But you can
 override the dir with an environment variable:
 
 http://www.xfree86.org/current/X.7.html:
 
  XLOCALEDIR
 This must point to a directory containing the locale.alias file
 and Compose and XLC_LOCALE file hierarchies for all locales. The
 default value is __projectroot__/lib/X11/locale.

 I eventually figured this out, via strings.  Should it be in
 README.Debian for ia32-libs?

Yes.

MfG
Goswin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]