[Bug 816153] Re: dante-server using the wrong libc.so
Martin Pitt
martin.pitt at ubuntu.com
Mon May 27 11:20:41 UTC 2013
Wouldn't it be better to find the real libc in the condition before?
case $host in
*-*-linux-*)
#XXX attempt to find latest c library
#can't set it to libc.so directly, might be ld script
LIBC_NAME=`ls /usr/lib/libc.so* /lib/libc.so* | sed -e 's/.*\///' | sort -nr | head -n 1`
IMHO this should also look in /lib/*/libc.so.*. Also, this needs to be
patched in configure.ac, not in configure. Can you please forward this
upstream/Debian as well? Thank you!
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/816153
Title:
dante-server using the wrong libc.so
Status in “dante” package in Ubuntu:
Confirmed
Status in “dante” source package in Precise:
Triaged
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dante/+bug/816153/+subscriptions
More information about the Ubuntu-sponsors
mailing list