[Bug 816153] [NEW] dante-server using the wrong libc.so

Launchpad Bug Tracker 816153 at bugs.launchpad.net
Fri Jul 12 14:44:14 UTC 2013


You have been subscribed to a public bug by Louis Bouchard (louis-bouchard):

SRU justification :

Without this correction, the danted daemon fails to start

Impact : 
Without a manual workaround, danted is unusable

Fix :

Correct the search logic to find & use the proper library path

Test Case :

- Install dante-server
- Configure /etc/danted.conf
- start danted with 
$ invoke-rc.d danted start

Regression :

Should be minimal as only one more search path is added to the lookup

Original description of the problem :

in natty/amd_64 /etc/init.d/danted start ends with a
Failed to open "libc.so": /usr/lib/x86_64-linux-gnu/libc.so: invalid ELF header

The file is plain text, not ELF
/* GNU ld script
   Use the shared library, but some functions are only in
   the static library, so try that secondarily.  */
OUTPUT_FORMAT(elf64-x86-64)
GROUP ( /lib/x86_64-linux-gnu/libc.so.6 /usr/lib/x86_64-linux-gnu/libc_nonshared.a  AS_NEEDED ( /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 ) )

and so danted dies.

work around is:
sudo ln -sf /lib/x86_64-linux-gnu/libc-2.13.so /usr/lib/x86_64-linux-gnu/libc.so

$ uname -a
Linux LTSP 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -rd
Description:	Ubuntu 11.04
Release:	11.04

$ apt-cache policy dante-server
dante-server:
  Instalados: 1.1.19.dfsg-3ubuntu4.1
  Candidato:  1.1.19.dfsg-3ubuntu4.1
  Tabla de versión:
 *** 1.1.19.dfsg-3ubuntu4.1 0
        500 http://cl.archive.ubuntu.com/ubuntu/ natty-updates/universe amd64 Packages
        100 /var/lib/dpkg/status
     1.1.19.dfsg-3ubuntu4 0
        500 http://cl.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages

** Affects: dante (Ubuntu)
     Importance: Undecided
     Assignee: Louis Bouchard (louis-bouchard)
         Status: In Progress

** Affects: dante (Ubuntu Precise)
     Importance: Medium
     Assignee: Louis Bouchard (louis-bouchard)
         Status: In Progress


** Tags: patch
-- 
dante-server using the wrong libc.so
https://bugs.launchpad.net/bugs/816153
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list