discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Import Error running companion after upgrade to F


From: CEL
Subject: Re: [Discuss-gnuradio] Import Error running companion after upgrade to Fedora 27
Date: Tue, 30 Jan 2018 21:09:50 +0000

Hi Mike,

yep, whenever you update libraries (which changes their ABI), you'll
have to rebuild *all* software that depends on it. In your case, this
includes not only GNU Radio, but seemingly also UHD.

Question: Did you make any modifications to either GNU Radio or UHD?
Otherwise, I'd just say: uninstall both the GNU Radio and UHD you have
now, and install both via DNF – in Fedora 27, you'll get UHD 3.10.1.0
and GNU Radio 3.7.11, both pretty recent. So unless you really need a
specific version of UHD, no reason to build from source; unless you
need a specific or modified version of GNU Radio, no reason to build
that either :)

Best regards,
Marcus

On Tue, 2018-01-30 at 15:45 -0500, Mike Gilmer wrote:
> Yes, thanks - I figured out I needed to have been doing that. ;-)
> 
> What a drudgery - I had to make changes to many files to get as far as I've 
> gotten (now up to 87% finished) and now I'm getting the errors:
> 
> /usr/bin/ld: warning: libboost_date_time.so.1.58.0, needed by 
> /usr/local/lib64/libuhd.so, not found (try using -rpath or -rpath-link)
> /usr/bin/ld: warning: libboost_filesystem.so.1.58.0, needed by 
> /usr/local/lib64/libuhd.so, not found (try using -rpath or -rpath-link)
> /usr/bin/ld: warning: libboost_program_options.so.1.58.0, needed by 
> /usr/local/lib64/libuhd.so, not found (try using -rpath or -rpath-link)
> .
> .
> .
> 
> Any ideas?
> 
> Thanks.
> Mike
> 
> On Tue, Jan 30, 2018 at 11:29 AM, Jeff Long <address@hidden> wrote:
> > Import errors can happen for a variety of reasons, even if the packages are 
> > still in the right place. A common reason is that libraries provided by 
> > rpms, and that gnuradio depends on, have changed. Since Boost has changed 
> > to version 1.64 in Fedora 27, you'll have to rebuild gnuradio.
> > 
> > 
> > On 01/30/2018 11:17 AM, Mike Gilmer wrote:
> > > I recently upgraded my Fedora 23 laptop (on which gnuradio companion 
> > > worked fine) to Fedora 27
> > > 
> > > Now when I try to run gnuradio-companion I get an error window.
> > > 
> > > ++++++++++++++++++++++++++++++++++++++++++++
> > >                    ImportError
> > > Cannot import gnuradio.
> > > 
> > > Is the python path environment variable set correctly?
> > >      All OS: PYTHONPATH
> > > 
> > > Is the library path environment variable set correctly?
> > >      Linux: LD_LIBRARY_PATH
> > >      Windows: PATH
> > >      MacOSX: DYLD_LIBRARY_PATH
> > > ++++++++++++++++++++++++++++++++++++++++++++
> > > 
> > > (libboost_date_time.so.1.58.0: cannot open shared object file: No such 
> > > file or directory)
> > > 
> > > I've checked the two env variables and they are set properly AFAIK.
> > > 
> > > $ echo $PYTHONPATH
> > > /usr/local/lib64/python2.7/site-packages
> > > 
> > > 
> > > $ echo $LD_LIBRARY_PATH
> > > /usr/lib64
> > > 
> > > Any advice would be appreciated.
> > > 
> > > -Mike
> > > 
> > > 
> > > _______________________________________________
> > > Discuss-gnuradio mailing list
> > > address@hidden
> > > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> > > 
> > > 
> >  
> > _______________________________________________
> > Discuss-gnuradio mailing list
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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