discuss-gnuradio
[Top][All Lists]
Advanced

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

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


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Caution: UHD in /usr/local/lib on Fedora X86_64
Date: Wed, 20 Apr 2011 08:18:50 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8


On 04/20/2011 05:05 AM, Marcus D. Leech wrote:
> 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.
> 

Sorry for not saying something. Surprise!

"""
Linux: automatically set LIB_SUFFIX on rh-64 systems
"""
http://code.ettus.com/redmine/ettus/projects/uhd/wiki/ChangeLog#Release-003000001

-Josh



reply via email to

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