Debian Bug report logs - #612000
libc6: please postinst symlink /usr/local/lib64 -> /usr/local/lib for consistency with /, and /usr ones

version graph

Package: libc6; Maintainer for libc6 is GNU Libc Maintainers <debian-glibc@lists.debian.org>; Source for libc6 is src:eglibc.

Reported by: Yaroslav Halchenko <debian@onerussian.com>

Date: Fri, 4 Feb 2011 15:12:05 UTC

Severity: minor

Found in version eglibc/2.11.2-9

Done: Aurelien Jarno <aurelien@aurel32.net>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#612000; Package libc6. (Fri, 04 Feb 2011 15:12:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Yaroslav Halchenko <debian@onerussian.com>:
New Bug report received and forwarded. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (Fri, 04 Feb 2011 15:12:08 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Yaroslav Halchenko <debian@onerussian.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6: please postinst symlink /usr/local/lib64 -> /usr/local/lib for consistency with /, and /usr ones
Date: Fri, 04 Feb 2011 10:09:51 -0500
Package: libc6
Version: 2.11.2-9
Severity: minor


Without /usr/local/lib64 symlink to /usr/local/lib  many local installations of
upstream projects (not that I am encouraging such cruel activity) would install
into /usr/local/lib64 on amd64 systems.  Since symlink is not available,
install would create a directory /usr/local/lib64 to place the content;
but default Debian setup of ldconfig does not include any of */lib64
directories, so those libraries would not become readily available.

Having a symlink /usr/local/lib64 -> /usr/local/lib should make our systems
"friendlier" to the users willing sacrificing piece of mind by installing
something 'locally'.

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libc6 depends on:
ii  libc-bin                      2.11.2-9   Embedded GNU C Library: Binaries
ii  libgcc1                       1:4.4.5-8  GCC support library

libc6 recommends no packages.

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0]         1.5.36     Debian configuration management sy
pn  glibc-doc                     <none>     (no description available)
ii  locales                       2.11.2-7   Embedded GNU C Library: National L

-- debconf information:
* glibc/upgrade: true
  glibc/disable-screensaver:
  glibc/restart-failed:
* glibc/restart-services: exim4 cups cron atd




Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#612000; Package libc6. (Fri, 11 Feb 2011 13:12:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vincent Lefevre <vincent@vinc17.net>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (Fri, 11 Feb 2011 13:12:03 GMT) Full text and rfc822 format available.

Message #10 received at 612000@bugs.debian.org (full text, mbox):

From: Vincent Lefevre <vincent@vinc17.net>
To: Yaroslav Halchenko <debian@onerussian.com>
Cc: 612000@bugs.debian.org
Subject: Re: libc6: please postinst symlink /usr/local/lib64 -> /usr/local/lib for consistency with /, and /usr ones
Date: Fri, 11 Feb 2011 14:09:23 +0100
On 2011-02-04 10:09:51 -0500, Yaroslav Halchenko wrote:
> Without /usr/local/lib64 symlink to /usr/local/lib many local
> installations of upstream projects (not that I am encouraging such
> cruel activity) would install into /usr/local/lib64 on amd64
> systems. Since symlink is not available, install would create a
> directory /usr/local/lib64 to place the content; but default Debian
> setup of ldconfig does not include any of */lib64 directories, so
> those libraries would not become readily available.

I'd say that such projects are buggy as they do not follow Debian's
convention: that's up to the "configure" step to decide what to do,
depending on the target system.

> Having a symlink /usr/local/lib64 -> /usr/local/lib should make our
> systems "friendlier" to the users willing sacrificing piece of mind
> by installing something 'locally'.

There would still be problems if the administrator or the end user
forgets to add symbolic links for other lib directories (e.g.
/opt/lib64 -> /opt/lib, $HOME/lib64 -> $HOME/lib, and so on). If
not all lib paths are consistent, this also means that incorrect
library versions could be selected, as shown here:

  http://gcc.gnu.org/ml/gcc-help/2010-11/msg00341.html

Alternatively, Debian could switch to the standard convention
(even though I do not like it, I think this would be a better
solution when one needs to deal with upstream projects that do
not know about Debian).

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)




Reply sent to Aurelien Jarno <aurelien@aurel32.net>:
You have taken responsibility. (Tue, 30 Aug 2011 16:45:09 GMT) Full text and rfc822 format available.

Notification sent to Yaroslav Halchenko <debian@onerussian.com>:
Bug acknowledged by developer. (Tue, 30 Aug 2011 16:45:09 GMT) Full text and rfc822 format available.

Message #15 received at 612000-done@bugs.debian.org (full text, mbox):

From: Aurelien Jarno <aurelien@aurel32.net>
To: Yaroslav Halchenko <debian@onerussian.com>, 612000-done@bugs.debian.org
Subject: Re: Bug#612000: libc6: please postinst symlink /usr/local/lib64 -> /usr/local/lib for consistency with /, and /usr ones
Date: Tue, 30 Aug 2011 18:44:16 +0200
On Fri, Feb 04, 2011 at 10:09:51AM -0500, Yaroslav Halchenko wrote:
> Package: libc6
> Version: 2.11.2-9
> Severity: minor
> 
> 
> Without /usr/local/lib64 symlink to /usr/local/lib  many local installations of
> upstream projects (not that I am encouraging such cruel activity) would install
> into /usr/local/lib64 on amd64 systems.  Since symlink is not available,
> install would create a directory /usr/local/lib64 to place the content;
> but default Debian setup of ldconfig does not include any of */lib64
> directories, so those libraries would not become readily available.
> 
> Having a symlink /usr/local/lib64 -> /usr/local/lib should make our systems
> "friendlier" to the users willing sacrificing piece of mind by installing
> something 'locally'.

Now that lib64 symlinks have been removed from / and /usr (they are
causing problems with multiarch), it doesn't make sense to add one in 
/usr/local. I am therefore closing this bug, feel free to reopen it if
you disagree.

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 28 Sep 2011 07:32:14 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 23 13:45:49 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.