[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#684682: libc-bin: man ldconfig(8): /etc/ld.so.conf syntax error(in the documentation?)



Package: libc-bin
Version: 2.13-33
Severity: minor

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?

from the manual: ldconfig(8):
| /etc/ld.so.conf     File containing a list of colon, space, tab, newline, or comma separated directories in which to search for libraries.
	
   * What exactly did you do (or not do) that was effective (or
     ineffective)?

-> tried to add the line '/libAAA:/lib64' to an empty /etc/ld.so.conf
then:
| $ /sbin/ldconfig -r root.p1e3Yh/  -v
| /sbin/ldconfig: Can't stat /libAAA:/lib64: No such file or directory
| /sbin/ldconfig: Can't stat /usr/lib/x86_64-linux-gnu: No such file or directory
| /sbin/ldconfig: Can't stat /usr/lib: No such file or directory
| /lib/x86_64-linux-gnu:
|         libtinfo.so.5 -> libtinfo.so.5
| (...snip...)
|         libgcrypt.so.11 -> libgcrypt.so.11
|         libreadline.so.5 -> libreadline.so.5
|         libc.so.6 -> libc.so.6
| /lib:
|         libcryptsetup.so.4 -> libcryptsetup.so.4


   * What was the outcome of this action?

/libAAA:/lib64 was considered as a directory name instead of /libAAA and /lib64

The same comment applies for space, tab and comma separated directories. One
has to separate them with a newline

I'm not sure if that's only a documentation error or if that's really how it is
supposed to work, either way, this is a minor annoyance

   * What outcome did you expect instead?
| $ /sbin/ldconfig -r root.p1e3Yh/  -v
| /sbin/ldconfig: Can't stat /libAAA: No such file or directory
| /sbin/ldconfig: Can't stat /usr/lib/x86_64-linux-gnu: No such file or directory
| /sbin/ldconfig: Can't stat /usr/lib: No such file or directory
| /lib64:
|         ld-linux-x86-64.so.2 -> ld-linux-x86-64.so.2
| /lib/x86_64-linux-gnu:
|         libtinfo.so.5 -> libtinfo.so.5
| (...snip...)
|         libgcrypt.so.11 -> libgcrypt.so.11
|         libreadline.so.5 -> libreadline.so.5
|         libc.so.6 -> libc.so.6
| /lib:
|         libcryptsetup.so.4 -> libcryptsetup.so.4



*** End of the template - remove these lines ***


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information


Reply to: