[Bug 190227] Re: ia32 apps look for libs on the wrong place

2008-04-22 Thread Daniel Marynicz
Test case:
1. Download (liblaunchpad-integration1, gcalctool ) 
wget  
http://archive.ubuntu.com/ubuntu/pool/main/g/gcalctool/gcalctool_5.22.1-0ubuntu1_i386.deb
wget 
http://archive.ubuntu.com/ubuntu/pool/main/l/launchpad-integration/liblaunchpad-integration1_0.1.19_i386.deb

2. Unpack 
mkdir /tmp/test
dpkg -x gcalctool_5.22.1-0ubuntu1_i386.deb  /tmp/test
dpkg -x liblaunchpad-integration1_0.1.19_i386.deb /tmp/test

3. Set LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/tmp/test/usr/lib

4. Run :

[EMAIL PROTECTED]:/tmp$ /tmp/test/usr/bin/gcalctool 
Gtk-Message: Failed to load module "gail": /usr/lib/gtk-2.0/modules/libgail.so: 
wrong ELF class: ELFCLASS64
Gtk-Message: Failed to load module "atk-bridge": 
/usr/lib/gtk-2.0/modules/libatk-bridge.so: wrong ELF class: ELFCLASS64

(gcalctool:8531): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/immodules/im-
scim-bridge.so: wrong ELF class: ELFCLASS64

(gcalctool:8531): Gtk-WARNING **: Loading IM context type 'scim-bridge'
failed

(gcalctool:8531): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/immodules/im-
scim-bridge.so: wrong ELF class: ELFCLASS64


5. Patch libgtk-x11-2.0.so.0.1200.9 

sudo ln -s /usr/lib32 /usr/l32
sudo sed -i -e 's/usr\/lib/usr\/l32/g' /usr/lib32/libgtk-x11-2.0.so.0.1200.9

6. Run:

[EMAIL PROTECTED]:/tmp$ /tmp/test/usr/bin/gcalctool

-- 
ia32 apps look for libs on the wrong place
https://bugs.launchpad.net/bugs/190227
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gtk+2.0 in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 190227] Re: ia32 apps look for libs on the wrong place

2008-04-22 Thread Daniel Marynicz
I add gtk+2.0 (Ubuntu)

** Changed in: gtk+2.0 (Ubuntu)
Sourcepackagename: ia32-libs => gtk+2.0

** Changed in: ia32-libs (Ubuntu)
Sourcepackagename: gtk+2.0 => ia32-libs

** Also affects: gtk+2.0 (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: gtk+2.0 (Ubuntu)
   Status: New => Confirmed

-- 
ia32 apps look for libs on the wrong place
https://bugs.launchpad.net/bugs/190227
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gtk+2.0 in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 200272] Re: Calculator not working.

2008-04-18 Thread Daniel Marynicz
$  LANG=pl_PL.UTF-8 gcalctool
Segmentation fault (core dumped)

$ LANG=en_US.UTF-8 gcalctool
[works]

-- 
Calculator not working.
https://bugs.launchpad.net/bugs/200272
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs