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

Bug#224366: libc6-dev: .so symlinks point to nowhere



Package: libc6-dev
Version: 2.3.2.ds1-10
Severity: important

the libc6-dev package creates relative .so links like this:

lrwxrwxrwx    1 root     root           23 Nov  8 02:40 libcrypt.so -> ../../lib/libcrypt.so.1
lrwxrwxrwx    1 root     root           20 Nov  8 02:40 libdl.so -> ../../lib/libdl.so.2
lrwxrwxrwx    1 root     root           21 Nov  8 02:40 libnsl.so -> ../../lib/libnsl.so.1
lrwxrwxrwx    1 root     root           28 Nov  8 02:40 libnss_compat.so -> ../../lib/libnss_compat.so.2

However, these point to nowhere unless /usr is physically mounted there
or is on /. If /usr is a symlink (in my case to /localvol/usr), these
links do not point to the correct location.

Solution:

Don't make relative links, use absolute links instead. This is also faster
and even saves space :)


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux cerebro 2.4.23-pre6 #1 SMP Sun Oct 12 00:21:15 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8

Versions of packages libc6-dev depends on:
hi  libc6                 2.3.2.ds1-10       GNU C Library: Shared libraries an
ii  linux-kernel-headers  2.5.999-test7-bk-9 Linux Kernel Headers for developme

-- no debconf information




Reply to: