discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Caution: UHD in /usr/local/lib on Fedora X86_64


From: Marcus D. Leech
Subject: [Discuss-gnuradio] Caution: UHD in /usr/local/lib on Fedora X86_64
Date: Wed, 20 Apr 2011 08:05:49 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10

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/ld.so.conf.d to have a configuration for
/usr/local/lib, then your
  code would link with the instance of /usr/local/lib/*uhd*.so*. 
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
experience.

-- 
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]