Package: lsb-core
Version: 3.0-5
Severity: important
Tags: patch

The package marks itself as version LSB version 3.0 although only
creates the dynamic interpreter links as per version 2.0 of the spec.

A program compiled with the lsbcc in lsb-build-cc-3.0.3-2 from
linuxbase.org will not load and fail with "File not found" due
to the lack of the /lib/ld-lsb.so.3 link.

http://refspecs.freestandards.org/LSB_3.0.0/LSB-Core-IA32/LSB-Core-IA32/baselib.html#PROGINTERP
http://refspecs.freestandards.org/LSB_3.0.0/LSB-Core-IA64/LSB-Core-IA64/baselib.html#PROGINTERP
http://refspecs.freestandards.org/LSB_3.0.0/LSB-Core-PPC32/LSB-Core-PPC32/baselib.html#PROGINTERP
http://refspecs.freestandards.org/LSB_3.0.0/LSB-Core-PPC64/LSB-Core-PPC64/baselib.html#PROGINTERP
http://refspecs.freestandards.org/LSB_3.0.0/LSB-Core-S390/LSB-Core-S390/baselib.html#PROGINTERP
http://refspecs.freestandards.org/LSB_3.0.0/LSB-Core-AMD64/LSB-Core-AMD64/baselib.html#PROGINTERP

Adding the link fixes the problem and programs compiled with
lsbcc then work.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages lsb-core depends on:
ii  alien                      8.56          install non-native packages with d
ii  at                         3.1.9         Delayed job execution and batch pr
ii  bc                         1.06-17       The GNU bc arbitrary precision cal
ii  binutils                   2.16.1-2      The GNU assembler, linker and bina
ii  bsdmainutils               6.1.2         collection of more utilities from 
ii  cpio                       2.6-3         GNU cpio -- a program to manage ar
ii  cron                       3.0pl1-88     management of regular background p
ii  cupsys-bsd [lpr]           1.1.23-12     Common UNIX Printing System(tm) - 
ii  debconf [debconf-2.0]      1.4.57        Debian configuration management sy
ii  exim [mail-transport-agent 3.36-17       An MTA (Mail Transport Agent)
ii  file                       4.12-1        Determines file type using "magic"
ii  gawk                       1:3.1.4-2.0.1 GNU awk, a pattern scanning and pr
ii  libc6                      2.3.5-4       GNU C Library: Shared libraries an
ii  libc6-dev [libc-dev]       2.3.5-4       GNU C Library: Development Librari
ii  locales                    2.3.5-4       GNU C Library: National Language (
ii  lsb-base                   3.0-5         Linux Standard Base 3.0 init scrip
ii  lsb-release                1.4-8         LSB release command
ii  m4                         1.4.3-2       a macro processing language
ii  make                       3.80-11       The GNU version of the "make" util
ii  man-db                     2.4.3-1       The on-line manual pager
ii  mawk                       1.3.3-11      a pattern scanning and text proces
ii  ncurses-term               5.4-9         Additional terminal type definitio
ii  passwd                     1:4.0.3-39    change and administer password and
ii  patch                      2.5.9-2       Apply a diff file to an original
ii  pax                        1:1.5-15      Portable Archive Interchange
ii  procps                     1:3.2.5-1     /proc file system utilities
ii  psmisc                     21.6-1        Utilities that use the proc filesy
ii  python                     2.3.5-3       An interactive high-level object-o
ii  rsync                      2.6.6-1       fast remote file copy program (lik
ii  zlib1g [libz1]             1:1.2.3-3     compression library - runtime

lsb-core recommends no packages.

-- debconf information excluded
--- debian/postinst.orig        2005-09-04 20:38:24.000000000 +0800
+++ debian/postinst     2005-09-04 20:54:27.000000000 +0800
@@ -6,23 +6,29 @@
         s390|ppc64)
             ln -sf ld.so.1 /lib/ld-lsb-$ARCH.so.1
             ln -sf ld.so.1 /lib/ld-lsb-$ARCH.so.2
+            ln -sf ld.so.1 /lib/ld-lsb-$ARCH.so.3
             ;;
         powerpc)
             ln -sf ld.so.1 /lib/ld-lsb-ppc32.so.1
             ln -sf ld.so.1 /lib/ld-lsb-ppc32.so.2
+            ln -sf ld.so.1 /lib/ld-lsb-ppc32.so.3
             ;;
         i386)
             ln -sf ld-linux.so.2 /lib/ld-lsb.so.1
             ln -sf ld-linux.so.2 /lib/ld-lsb.so.2
+            ln -sf ld-linux.so.2 /lib/ld-lsb.so.3
             ;;
         amd64)
             ln -sf ld-linux.so.2 /lib/ld-lsb.so.1
             ln -sf ld-linux.so.2 /lib/ld-lsb.so.2
+            ln -sf ld-linux.so.2 /lib/ld-lsb.so.3
             ln -sf /lib/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.2
+            ln -sf /lib/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3
             ;;
         ia64)
             ln -sf ld-linux-ia64.so.2 /lib/ld-lsb-ia64.so.1
             ln -sf ld-linux-ia64.so.2 /lib/ld-lsb-ia64.so.2
+            ln -sf ld-linux-ia64.so.2 /lib/ld-lsb-ia64.so.3
             ;;
         *)
             echo "ld-lsb-*.so.1 symlink for $ARCH is unknown!"

Reply via email to