Included copy of Qt can't find installed plugins in /usr/lib32/qt4/plugins

Bug #353704 reported by Ara Pulido
14
Affects Status Importance Assigned to Milestone
ia32-libs (Ubuntu)
Won't Fix
High
Canonical Foundations Team
qt4-x11 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Using Jaunty AMD64, libqt4core 4.5.0-0ubuntu3

Lib plugins are located under /usr/lib32/qt4/plugins/

But the lib is looking somewhere else:
hexdump -C /usr/lib32/libQtCore.so.4 | grep plugins
00197470 00 50 6c 75 67 69 6e 73 00 70 6c 75 67 69 6e 73 |.Plugins.plugins|
00197af0 2f 6c 69 62 2f 71 74 34 2f 70 6c 75 67 69 6e 73 |/lib/qt4/plugins|

There should be a symbolic link between /usr/lib32/qt4/plugins/ and /lib/qt4/plugins|

This is causing some Qt applications not finding the right imageformats.

Tags: patch
Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

Confirmed. This breaks the avatar functionality of Skype for example

Changed in qt4-x11 (Ubuntu):
assignee: nobody → canonical-desktop-team
importance: Undecided → Medium
milestone: none → ubuntu-9.04
status: New → Triaged
Revision history for this message
Matt Zimmerman (mdz) wrote :

The plugins are in the correct place, and should be found by a normal library search. What does strace show?

Changed in qt4-x11 (Ubuntu):
assignee: canonical-desktop-team → ubuntu-foundations
Revision history for this message
Martin Pitt (pitti) wrote :

Ara, can you please do an strace of the affected application, to see what's going oin?

Changed in qt4-x11 (Ubuntu):
assignee: ubuntu-foundations → canonical-desktop-team
status: Triaged → Incomplete
Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :

Jonathan - as this is qt related, perhaps you would be best suited to comment on this?

Changed in qt4-x11 (Ubuntu):
assignee: canonical-desktop-team → jr
Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :

This bug is blocking the QA team from supporting a partner in the partner repository.

Changed in qt4-x11 (Ubuntu):
importance: Medium → High
Revision history for this message
Jonathan Riddell (jr) wrote :

This is an issue with the copy of Qt as found in ia32-libs, there's no problem with the normal version of qt4-x11. Changing package appropriately.

Qt loads its plugins from /usr/lib/qt4/plugins/, someone familiar with the library tricks used in ia32-libs will need to work out if the 32-bit version can be persuaded to look in /usr/lib32/qt4/plugins/ instead.

affects: qt4-x11 (Ubuntu) → ia32-libs (Ubuntu)
Revision history for this message
Matthias Klose (doko) wrote :

for pango and gtk, runtime checks were required, checking the kernel personality at runtime.

Revision history for this message
Ara Pulido (ara) wrote :

Find attached the trace from strace.

Changed in ia32-libs (Ubuntu):
status: Incomplete → In Progress
status: In Progress → Triaged
Matt Zimmerman (mdz)
summary: - Wrong path for lib plugins in amd64 build
+ Included copy of Qt can't find installed plugins in
+ /usr/lib32/qt4/plugins
Changed in ia32-libs (Ubuntu):
assignee: Jonathan Riddell (jr) → Bo Thorsen (bo.thorsen)
Revision history for this message
Robbie Williamson (robbiew) wrote :

Attaching a POSSIBLE fix submitted by Bo, who requests testing by those affected.

Changed in ia32-libs (Ubuntu):
milestone: ubuntu-9.04 → jaunty-updates
Revision history for this message
Scott Ritchie (scottritchie) wrote : Re: [patch] Included copy of Qt can't find installed plugins in /usr/lib32/qt4/plugins

Opening a qt4 task as the supplied patch by Bo needs to be applied in that package. After that a simple ia32-libs refresh can be done.

description: updated
summary: - Included copy of Qt can't find installed plugins in
+ [patch] Included copy of Qt can't find installed plugins in
/usr/lib32/qt4/plugins
Changed in qt4-x11 (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Changed in ia32-libs (Ubuntu):
assignee: Bo Thorsen (bo.thorsen) → nobody
Changed in ia32-libs (Ubuntu):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Revision history for this message
Michael Terry (mterry) wrote :

Just FYI, both qt4-x11 and ia32 libs in Karmic have this patch. So if we're still in the waiting-for-testing-to-confirm-patch-works stage, can Ara or someone else affected by this test with Karmic?

And then I'm guessing by the milestone that an SRU is desired?

Revision history for this message
Scott Ritchie (scottritchie) wrote :

What's the status in Lucid then? Can we close this?

Revision history for this message
Matt Zimmerman (mdz) wrote :

I don't see any reference to this bug number, or obvious reference to this problem, in the qt4-x11 or ia32-libs changelog in Lucid. mterry, can you clarify where and how this was fixed in Karmic?

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

kubuntu_04_qt_ia32_library_path.patch should take care of this

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Assuming fixed in qt4-x11 due to the presence of the above-mentioned patch.

Changed in qt4-x11 (Ubuntu):
status: Confirmed → Fix Released
summary: - [patch] Included copy of Qt can't find installed plugins in
+ Included copy of Qt can't find installed plugins in
/usr/lib32/qt4/plugins
tags: added: patch
Changed in qt4-x11 (Ubuntu):
status: Fix Released → In Progress
status: In Progress → Confirmed
status: Confirmed → New
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Any reason for reopening this?

Changed in qt4-x11 (Ubuntu):
status: New → Fix Released
Revision history for this message
Jani Monoses (jani) wrote :

Jaunty was EOL-ed last year.

Changed in ia32-libs (Ubuntu):
milestone: jaunty-updates → none
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.