Red Hat Bugzilla – Bug 820662
ldconfig does not configure shared libraries
Last modified: 2017-09-14 08:09:23 EDT
Description of problem:
Looks like you need to configure which paths should ldconfig traverse.
Version-Release number of selected component (if applicable):
On 1st installation it was OK, but after few uninstalling and installing one library wasn't correctly linked
Steps to Reproduce:
1.# ldd /usr/lib64/cmpi/libcmpiLinux_DHCPGroup.so
linux-vdso.so.1 => (0x00007fff4bdff000)
libRaToolsDhcp.so.0 => /usr/lib64/libRaToolsDhcp.so.0 (0x00007fcc400fb000)
libRaTools.so.0 => /usr/lib64/libRaTools.so.0 (0x00007fcc3fef7000)
libc.so.6 => /lib64/libc.so.6 (0x00007fcc3fb55000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fcc3f939000)
libuniquekey.so => not found
]# ldd /usr/lib64/cmpi/libcmpiLinux_DHCPGroup.so
linux-vdso.so.1 => (0x00007fff7b5ff000)
libRaToolsDhcp.so.0 => /usr/lib64/libRaToolsDhcp.so.0 (0x00007fc0be271000)
libRaTools.so.0 => /usr/lib64/libRaTools.so.0 (0x00007fc0be06d000)
libc.so.6 => /lib64/libc.so.6 (0x00007fc0bdccb000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fc0bdaaf000)
libuniquekey.so => /usr/lib64/cmpi/libuniquekey.so (0x00007fc0bd8ac000)
I don't know which package should be the right one. Maybe tog-pegasus. But definitely there should be some file in /etc/ld.so.conf.d/. I have created /etc/ld.so.conf.d/cmpi.conf.
# cat /etc/ld.so.conf.d/cmpi.conf
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.
Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.