missing ia32 libXcomposite

Bug #138145 reported by Michael Blakeley
110
Affects Status Importance Assigned to Milestone
ia32-libs (Ubuntu)
Fix Released
High
Unassigned
Nominated for Gutsy by Ulrik Mikaelsson

Bug Description

Binary package hint: ia32-libs

$ uname -a
Linux mblakele-lt 2.6.22-10-generic #1 SMP Wed Aug 22 07:42:05 GMT 2007 x86_64 GNU/Linux
$ apt-show-versions | grep ia32
ia32-libs-kde/gutsy uptodate 12
ia32-libs/gutsy uptodate 2.1ubuntu1

I use the 32-bit mozilla.org build of thunderbird 2.0 on an x86-64 gutsy install. Today, after running dist-upgrade, I found that thunderbird would no longer launch:

$ ~/opt/thunderbird-2/thunderbird
/etc/init.d/xprint: 534: Syntax error: Bad substitution
/home/mblakele/opt/thunderbird-2/thunderbird-bin: error while loading shared libraries: libXcomposite.so.1: cannot open shared object file: No such file or directory

Ignoring the xprint error for the moment, it looks like thunderbird can't find libXcomposite.so.1. I have a 64-bit version of that library:

$ dlocate libXcomposite.so | awk '{ print $2 }' | xargs ls -l
lrwxrwxrwx 1 root root 22 2007-07-25 08:03 /usr/lib/libXcomposite.so -> libXcomposite.so.1.0.0
lrwxrwxrwx 1 root root 22 2007-07-25 08:03 /usr/lib/libXcomposite.so.1 -> libXcomposite.so.1.0.0
-rw-r--r-- 1 root root 9672 2007-07-25 02:59 /usr/lib/libXcomposite.so.1.0.0

...but I can't find a 32-bit version. I suspect that it has been dropped from a recently-updated package, probably ia32-libs.

Related branches

Revision history for this message
xtknight (xt-knight) wrote :

I'm having the same problem when installing flashplugin-nonfree (see Bug 138152).

Meanwhile you can grab libXcomposite.so.1 and extract to /usr/lib32.

Revision history for this message
xtknight (xt-knight) wrote :

Sorry, I meant Bug 138162 above.

Revision history for this message
Jeff (jeff.v) wrote :

I've come across the same thing. Everything was working fine 2 days ago, but one of the Gutsy package updates since then seems to have caused a problem involving this library.

I have 64-bit Firefox installed with Adobe Flash 9 (flashplugin-nonfree using nspluginwrapper), all from the Gutsy repositories. Prior to updating, the Flash plugin worked fine. Afterward it ceased to. Running Firefox from the command line produced the following error, which also occurs when trying to reinstall the plugin with nspluginwrapper ("nspluginwrapper -a -i"):

/usr/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libXcomposite.so.1: cannot open shared object file: No such file or directory

I have a 64-bit version of this library (/usr/lib/libXcomposite.so.1.0.0), but no apparent 32-bit version. Since nspluginwrapper depends on ia32-libs, I assume it's looking for a 32-bit libXcomposite.so which has mysteriously disappeared.

Revision history for this message
afonic (afonic) wrote :

Same problem here.

I guess it was yesterday's update of ia32-libs

Revision history for this message
PiersHarding (piersharding) wrote :

And if it helps - same here - definitely means I can't run the 32bit firefox under amd64 as a result of the missing 32bit libXcomposite.

Revision history for this message
Francois Duprez (francoisduprez) wrote :

Same problem here, even reinstalling linux32 won't help.

/usr/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libXcomposite.so.1: cannot open shared object file: No such file or directory

Reinstalled every ia32 and lib32 packages, no diffrent.

Revision history for this message
Bob/Paul (ubuntu-launchpad-bobpaul) wrote :

xtknight: please add more details for your work around. For example, where does one find libXcomposite.so.1 so they can extract it to /usr/lib32?

Revision history for this message
Sean Whalen (seanthegeek) wrote :

Exact same isue here :(

Revision history for this message
Bob/Paul (ubuntu-launchpad-bobpaul) wrote :

xtknight: Nm, I got it. Download the i386 version from http://packages.ubuntu.com/gutsy/libs/libxcomposite1
Then open with archive manager or similar and extract libXcomposite.so.1 and libXcomposite.so.100. Move both to /usr/lib32

Revision history for this message
Nizar Kerkeni (nizarus) wrote :

same bug with firefox32 in gutsy (amd64) but skype still working.

~$ /data/firefox/firefox
+ moz_libdir=/usr/local/lib/firefox-2.0.0.6
+ MRE_HOME=/usr/local/lib/mre/mre-2.0.0.6
+ found=0
+ progname=/data/firefox/firefox
+ dirname /data/firefox/firefox
+ curdir=/data/firefox
+ basename /data/firefox/firefox
+ progbase=firefox
+ run_moz=/data/firefox/run-mozilla.sh
+ test -x /data/firefox/run-mozilla.sh
+ dist_bin=/data/firefox
+ found=1
+ [ 1 = 0 ]
+ script_args=
+ debugging=0
+ MOZILLA_BIN=firefox-bin
+ [ = beos ]
+ pass_arg_count=0
+ [ 0 -gt 0 ]
+ export MRE_HOME
+ moz_pis_startstop_scripts start
+ MOZ_USER_DIR=.mozilla/firefox
+ MOZ_PIS_API=2
+ MOZ_PIS_MOZBINDIR=/data/firefox
+ MOZ_PIS_SESSION_PID=8082
+ MOZ_PIS_USER_DIR=.mozilla/firefox
+ export MOZ_PIS_API MOZ_PIS_MOZBINDIR MOZ_PIS_SESSION_PID MOZ_PIS_USER_DIR
+ [ -x /data/firefox/init.d/S* ]
+ [ -x /home/kerkeni/.mozilla/firefox/init.d/S* ]
+ [ 0 = 1 ]
+ /data/firefox/run-mozilla.sh /data/firefox/firefox-bin
/data/firefox/firefox-bin: error while loading shared libraries: libXcomposite.so.1: cannot open shared object file: No such file or directory
+ exitcode=127
+ moz_pis_startstop_scripts stop
+ MOZ_USER_DIR=.mozilla/firefox
+ MOZ_PIS_API=2
+ MOZ_PIS_MOZBINDIR=/data/firefox
+ MOZ_PIS_SESSION_PID=8082
+ MOZ_PIS_USER_DIR=.mozilla/firefox
+ export MOZ_PIS_API MOZ_PIS_MOZBINDIR MOZ_PIS_SESSION_PID MOZ_PIS_USER_DIR
+ [ -x /home/kerkeni/.mozilla/firefox/init.d/K* ]
+ [ -x /data/firefox/init.d/K* ]
+ exit 127

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Yes, same here

Changed in ia32-libs:
status: New → Confirmed
Revision history for this message
Fabien Lusseau (fabien-beosfrance) wrote :

same here with flashplugin-nonfree ... I stand for the fix :-)

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

It seems that libXcomposite isn't the only broken library in ia32.

When I want to start the vmware-server-console, I the the following error message:

/usr/lib/vmware-server-console/bin/vmware-server-console: error while loading shared libraries: libXcomposite.so.1: cannot open shared object file: No such file or directory
/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib32/libcairo.so.2)
/usr/lib/vmware-server-console/bin/vmware-server-console: error while loading shared libraries: libXcomposite.so.1: cannot open shared object file: No such file or directory

--> libpng12.so.0 is obviously broken.

Revision history for this message
Guybrush88 (guybrush) wrote :

same problem here with Mugen64

Revision history for this message
Gustavo Carneiro (gjc) wrote :

Same here, problem in secondlife:

gjc@nazgul:SecondLife_i686_1_18_1_2$ ./secondlife
bin/do-not-directly-run-secondlife-bin: error while loading shared libraries: libXcomposite.so.1: cannot open shared object file: No such file or directory

Revision history for this message
Patrick Regan (patrick-regan) wrote :

I am also having this problem

Revision history for this message
Bob/Paul (ubuntu-launchpad-bobpaul) wrote :

Any any package that requires the 32bit version of libXcomposite will have this problem. There is no need to report every package dependent on the "ia32-libs" package that is currently not working.

Revision history for this message
unf (unforcer) wrote :

Importance is -
Assigned to -

:(

Revision history for this message
Gustavo Carneiro (gjc) wrote :

Exactly, it's a rather important bug for 64-bit users... :-/

For those interested, I managed to solve the problem in a hackish way by simply downloading the i386 package from http://packages.ubuntu.com/gutsy/libs/libxcomposite1, opening with archive manager (file-roller, needs to open once, then open again the 'data' archive), and extrat the files to /usr/lib32. Now vmware runs for me. SecondLife as well.

Revision history for this message
Matti Lindell (mlind) wrote :

raising importance as this is very bad for 64-bit users.

Changed in ia32-libs:
importance: Undecided → High
Revision history for this message
Jeremy LaCroix (jlacroix82-deactivatedaccount) wrote :

Same problem for me as well.

Revision history for this message
Robert Hrovat (robi-hipnos) wrote :

Here too. Worked perfect last week but since last updates, there's an error.

Revision history for this message
etteyafed (gdefayette) wrote :

I have not read this page in full because i don't have time, so please forgive me for posting things that have already been said. I am coming to this bug from a problem with another package that is affected. I am not intending to provide some ground breaking news, just verify what has already been stated.

The problem with https://bugs.launchpad.net/ubuntu/+source/ia32-libs/+bug/138145 seems to be an easy fix. I haven't looked at the package really as I am not sure what package to look at here, but I know that copying libXcomposite.so.1.0.0 and the soname link (libXcomposite.1) from the libxcomposite1_0.4.0-0ubuntu1_i386.deb package into /usr/lib32/ will fix the problem. So I would imagine whatever package is providing the 32bit version of this lib is failing to install or not trying to install it at all.

Revision history for this message
Matthias Klose (doko) wrote :

ia32-libs (2.1ubuntu2) gutsy; urgency=low

  * Added missing libxcomposite1 (LP: #138145) (Michael Vogt).
  * Remove libdb4.6.
  * Freshen packages.

 -- Matthias Klose <email address hidden> Wed, 12 Sep 2007 12:54:57 +0200

Changed in ia32-libs:
status: Confirmed → Fix Released
Revision history for this message
Ralf Nieuwenhuijsen (ralf-nieuwenhuijsen) wrote :

DO NOT FORGET:
Those of you who manually put libXcomposite in their /usr/lib32 directory would be wise to remove that before upgrading to the new ia32-libs

Revision history for this message
reliable-robin-22 (nicolasdiogo) wrote :

hi,

i have just tried to reinstall the ia32-libs, and flashplugin-nonfree and it still fails during installation.

could you confirm if this bug has been dealt?

many thanks,

Revision history for this message
Jeff (jeff.v) wrote :

If you're getting this error:

update-alternatives: unable to make /usr/lib/midbrowser/plugins/flashplugin-alternative.so.dpkg-tmp a symlink to /etc/alternatives/midbrowser-flashplugin: No such file or directory

Doing the following will fix allow the installation to complete:
  sudo mkdir -p /usr/lib/midbrowser/plugins
  sudo dpkg --configure -a
  sudo nspluginwrapper -a -i -u

Revision history for this message
Nizar Kerkeni (nizarus) wrote :

Impossible to update ia32-libs on amd64
error message (in french) :
Préparation du remplacement de ia32-libs 2.1ubuntu1 (en utilisant .../ia32-libs_2.1ubuntu2_amd64.deb) ...
Dépaquetage de la mise à jour de ia32-libs ...
dpkg : erreur de traitement de /var/cache/apt/archives/ia32-libs_2.1ubuntu2_amd64.deb (--unpack) :
 erreur pendant la création du lien symbolique « ./usr/lib32/libGL.so.1 »: Aucun fichier ou répertoire de ce type

Revision history for this message
Gustavo Carneiro (gjc) wrote :

Worked for me... not even needed to remove the manually copied /usr/lib32/libXcomposite* files..

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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