Debian Bug report logs -
#794559
ld.so(8) LD_LIBRARY_PATH also treats ';' as a seperator
Reported by: Jonathan David Amery <jdamery@ysolde.ucam.org>
Date: Tue, 4 Aug 2015 12:09:01 UTC
Severity: normal
Tags: fixed-upstream
Found in version manpages/3.44-1
Fixed in version 4.04-1
Done: "Dr. Tobias Quathamer" <toddy@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#794559; Package manpages.
(Tue, 04 Aug 2015 12:09:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Jonathan David Amery <jdamery@ysolde.ucam.org>:
New Bug report received and forwarded. Copy sent to Martin Schulze <joey@debian.org>.
(Tue, 04 Aug 2015 12:09:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: manpages
Version: 3.44-1
Severity: normal
The documentation for LD_LIBRARY_PATH notes that the list is colon-seperated;
however ld.so also treats ';' as a seperator (possibly for compatability
reasons).
The manpage should note this otherwise the results of trying to have a library
path that includes a ';' as part of a directory name are very confusing.
-- System Information:
Debian Release: 7.8
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
manpages depends on no packages.
manpages recommends no packages.
Versions of packages manpages suggests:
ii man-db [man-browser] 2.6.2-1
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#794559; Package manpages.
(Wed, 05 Aug 2015 19:03:04 GMT) (full text, mbox, link).
Acknowledgement sent
to "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>:
Extra info received and forwarded to list. Copy sent to Martin Schulze <joey@debian.org>.
(Wed, 05 Aug 2015 19:03:04 GMT) (full text, mbox, link).
Message #10 received at 794559@bugs.debian.org (full text, mbox, reply):
tags 794559 fixed-upstream
thanks
On 08/04/2015 02:05 PM, Jonathan David Amery wrote:
> Package: manpages
> Version: 3.44-1
> Severity: normal
>
> The documentation for LD_LIBRARY_PATH notes that the list is colon-seperated;
> however ld.so also treats ';' as a seperator (possibly for compatability
> reasons).
>
> The manpage should note this otherwise the results of trying to have a library
> path that includes a ';' as part of a directory name are very confusing.
Thanks Jonathan. I confirm your point, and I've applied the patch below.
Cheers,
Michael
diff --git a/man8/ld.so.8 b/man8/ld.so.8
index 700628c..1c643c7 100644
--- a/man8/ld.so.8
+++ b/man8/ld.so.8
@@ -228,8 +228,9 @@ when they are first referenced.
This is useful when using a debugger.
.TP
.B LD_LIBRARY_PATH
-A colon-separated list of directories in which to search for
+A list of directories in which to search for
ELF libraries at execution-time.
+The items in the list are separated by either colons or semicolons.
Similar to the
.B PATH
environment variable.
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
Added tag(s) fixed-upstream.
Request was from "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>
to control@bugs.debian.org.
(Wed, 05 Aug 2015 19:03:06 GMT) (full text, mbox, link).
Reply sent
to "Dr. Tobias Quathamer" <toddy@debian.org>:
You have taken responsibility.
(Tue, 16 Feb 2016 20:12:04 GMT) (full text, mbox, link).
Notification sent
to Jonathan David Amery <jdamery@ysolde.ucam.org>:
Bug acknowledged by developer.
(Tue, 16 Feb 2016 20:12:04 GMT) (full text, mbox, link).
Message #17 received at 794559-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Version: 4.04-1
Hi,
this bug has been fixed in Debian, thanks for reporting.
Regards,
Tobias
[signature.asc (application/pgp-signature, attachment)]
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 16 Mar 2016 07:31:07 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Mar 9 10:03:55 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.