[Bug 1790020] Re: /sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once
demon
1790020 at bugs.launchpad.net
Sat Dec 8 21:18:57 UTC 2018
Only files and any mention of such paths are as follows in
/etc/ld.so.conf.d:
10-amdgpu-pro.conf:/opt/amdgpu-pro/lib/x86_64-linux-gnu
20-amdgpu.conf:/opt/amdgpu/lib/x86_64-linux-gnu
fakeroot-x86_64-linux-gnu.conf:/usr/lib/x86_64-linux-gnu/libfakeroot
x86_64-linux-gnu.conf:/lib/x86_64-linux-gnu |
| < Error occurs cause of this file
x86_64-linux-gnu.conf:/usr/lib/x86_64-linux-gnu |
x86_64-linux-gnu_EGL.conf:/usr/lib/x86_64-linux-gnu/mesa-egl
x86_64-linux-gnu_GL.conf:/usr/lib/x86_64-linux-gnu/mesa
You're not seeing the error because you didn't run the command as:
# ldconfig -v
I just ran it and the error is back again since there has been a recent
update to libc6:
demon at UbuntuHP:/etc/ld.so.conf.d$ sudo ldconfig -v
/sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once
[..]
After deleting/renaming the afflicted file(s): /etc/ld.so.conf.d/x86_64-linux-gnu.conf
The error disappears, and the directory is still indexed as normal that
is in that .conf
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1790020
Title:
/sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once
Status in glibc package in Ubuntu:
Incomplete
Bug description:
libc6:
Installed: 2.23-0ubuntu10
Candidate: 2.23-0ubuntu10
Version table:
*** 2.23-0ubuntu10 500
500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
100 /var/lib/dpkg/status
2.23-0ubuntu3 500
500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
This package is installing a x86_64-linux-gnu.conf file in
/etc/ld.so.conf.d that triggers an error with ldconfig.real:
/sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once
This is because the conf file includes those directories for ldconfig
to search when ldconfig already indexes those directories by default.
After deleting the conf file created by libc6 package, the error
ceases.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: libc6 2.23-0ubuntu10
Uname: Linux 4.16.0-041600-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
CurrentDesktop: GNOME-Flashback:Unity
Date: Thu Aug 30 20:19:37 2018
Dependencies:
gcc-6-base 6.0.1-0ubuntu1
libc6 2.23-0ubuntu10
libgcc1 1:6.0.1-0ubuntu1
InstallationDate: Installed on 2018-05-18 (104 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: glibc
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1790020/+subscriptions
More information about the foundations-bugs
mailing list