Caution: UHD in /usr/local/lib on Fedora X86_64

Previously, the package file for UHD placed the UHD shared libraries in
/usr/local/lib, even on x86_64
systems, where Fedora prefers libraries in /usr/local/lib64.

So, if you’d modified your /etc/ to have a configuration for
/usr/local/lib, then your
code would link with the instance of /usr/local/lib/*.
Recently started UHD correctly
placing .so files in the preferred location on Fedora on x86_64
systems (/usr/local/lib64).

But because of search-order issues, the dynamic loader would find the
ones in /usr/local/lib first,
which become more and more obsolete. The “cure” is to remove the old
libuhd*.so* files from
/usr/local/lib on x86_64 systems, and re-run “ldconfig”, which will
cause it to find the newer ones
(now correctly placed) under /usr/local/lib64.

Just tripped over that one this morning, and thought I’d share my

Principal Investigator
Shirleys Bay Radio Astronomy Consortium

On 04/20/2011 05:05 AM, Marcus D. Leech wrote:

Sorry for not saying something. Surprise!

Linux: automatically set LIB_SUFFIX on rh-64 systems


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs