[jaunty] some ia32 libs are linked in weird places

Bug #309841 reported by Bogdan Butnaru
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ia32-libs (Ubuntu)
Fix Released
Medium
Fabien Tassin

Bug Description

Binary package hint: ia32-libs

Due to some trouble with skype I've had to take a look in /usr/lib32, and it seems that some libs are misplaced, at least on my machine. (I've just updated from Intrepid to Jaunty, I've no idea what would happen on a clean install.)

Take a look at the snippets below. libpulse-simple.so is symlinked to a non-existent libpulse-simple.so.0.0.1, libpulse.so to (non-existent) libpulse.so.0.4.1, and libltdl.so to libltdl.so.3 instead of (I assume) libltdl.so.7. Also, libgpg-error.so is symlinked to libgpg-error.so.0 and libgcrypt.so to libgcrypt.so.11, despite the fact that the former are in /usr/lib32 and the latter in /lib32. By the way, I don't think I see the reason for a /lib32 directory, shouldn't everything reside in /usr/lib32?

I noticed the problem when ldconfig complained about missing files. In this case I just added/replaced by hand the symlinks and ldconfig at least stopped complaining. (I still haven't solved my initial Skype problem, so I've no idea if this contributed or not.)

bogdanb@mabelode:/usr/lib32$ ls -la|grep pulse
[snip]
lrwxrwxrwx 1 root root 24 2008-12-19 19:46 libpulse-simple.so -> libpulse-simple.so.0.0.1
lrwxrwxrwx 1 root root 24 2008-12-19 19:46 libpulse-simple.so.0 -> libpulse-simple.so.0.0.2
-rw-r--r-- 1 root root 63460 2008-12-10 03:15 libpulse-simple.so.0.0.2
lrwxrwxrwx 1 root root 17 2008-12-19 19:46 libpulse.so -> libpulse.so.0.4.1
lrwxrwxrwx 1 root root 17 2008-12-19 19:46 libpulse.so.0 -> libpulse.so.0.7.0
-rw-r--r-- 1 root root 379960 2008-12-10 03:15 libpulse.so.0.7.0

bogdanb@mabelode:/usr/lib32$ ls -la|grep ltdl
lrwxrwxrwx 1 root root 12 2008-12-19 19:46 libltdl.so -> libltdl.so.3
lrwxrwxrwx 1 root root 16 2008-12-19 19:46 libltdl.so.7 -> libltdl.so.7.1.2
-rw-r--r-- 1 root root 30104 2008-11-19 13:52 libltdl.so.7.1.2

bogdanb@mabelode:/usr/lib32$ ls -la |grep gpg-err
lrwxrwxrwx 1 root root 17 2008-12-19 19:46 libgpg-error.so -> libgpg-error.so.0

bogdanb@mabelode:/usr/lib32$ dpkg-query -S libgpg-error.so |grep ia32
ia32-libs: /lib32/libgpg-error.so.0.3.0
ia32-libs: /lib32/libgpg-error.so.0
ia32-libs: /usr/lib32/libgpg-error.so

bogdanb@mabelode:/usr/lib32$ ls -la |grep libgcrypt
lrwxrwxrwx 1 root root 15 2008-12-19 19:46 libgcrypt.so -> libgcrypt.so.11

bogdanb@mabelode:/usr/lib32$ ls -la /lib32|grep libgcr
lrwxrwxrwx 1 root root 19 2008-12-19 19:46 libgcrypt.so.11 -> libgcrypt.so.11.4.4
-rw-r--r-- 1 root root 423876 2008-11-11 17:46 libgcrypt.so.11.4.4

Revision history for this message
Patrice DUROUX (patrice-duroux) wrote :

Hy,

I fully agree, and some dependencies seem to be missing as well:
patrice@lupus:/usr/lib32$ ldd libpulsecore.so.8.0.0
 linux-gate.so.1 => (0xf7f96000)
 libltdl.so.7 => /usr/lib32/libltdl.so.7 (0xf7ed7000)
 libsamplerate.so.0 => /usr/lib32/libsamplerate.so.0 (0xf7d6d000)
 libsndfile.so.1 => /usr/lib32/libsndfile.so.1 (0xf7d10000)
 libFLAC.so.8 => /usr/lib32/libFLAC.so.8 (0xf7cbd000)
 libogg.so.0 => /usr/lib32/libogg.so.0 (0xf7cb7000)
 libspeexdsp.so.1 => not found
 liboil-0.3.so.0 => not found
 libcap.so.1 => /lib32/libcap.so.1 (0xf7cb2000)
 libgdbm.so.3 => not found
 librt.so.1 => /lib32/librt.so.1 (0xf7ca9000)
 libdl.so.2 => /lib32/libdl.so.2 (0xf7ca5000)
 libm.so.6 => /lib32/libm.so.6 (0xf7c7f000)
 libpthread.so.0 => /lib32/libpthread.so.0 (0xf7c65000)
 libc.so.6 => /lib32/libc.so.6 (0xf7b03000)
 /lib/ld-linux.so.2 (0xf7f97000)

Changed in ia32-libs:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Fabien Tassin (fta) wrote :

This is not maintainable in its current form, we always end up with broken or missing links.
I will turn this mess into something automatic.

Changed in ia32-libs (Ubuntu):
assignee: nobody → fta
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ia32-libs - 2.7ubuntu4

---------------
ia32-libs (2.7ubuntu4) jaunty; urgency=low

  * fetch-and-build:
    - add libsqlite3-0, needed as a dependency of libnss3-1d (LP: #326311).
    - add libmikmod2 and libsmpeg0 needed as dependencies of libsdl-mixer1.2
      (LP: #154883).
    - add libcanberra-gtk-module and its dependencies (libcanberra-gtk0,
      libcanberra0 and libtdb1)
    - add libsdl-image1.2 and python2.5 (LP: #277454)
    - add missing dependencies:
      - libcelt0 for libjack0
      - libsmbios2 for libhal1
      - libspeexdsp1 and liboil0.3 for libpulsecore9
      - libavahi-common3 and libavahi-client3 for libpulse-browse0
      - libgail18 for libgnomecanvas2-0
    - drop libartsc0, which is now obsolete.
  * debian/rules:
    - automatically create all missing .so symlinks in /lib32 and /usr/lib32 as
      the manual list of links was always out of sync and incomplete
      (LP: #277772, #309841).
  * Freshen packages (as of Jaunty beta1) (LP: #338145, #325098, #337210)

 -- Fabien Tassin <email address hidden> Fri, 20 Mar 2009 23:48:50 +0100

Changed in ia32-libs:
status: Confirmed → Fix Released
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.