# Re: followup: libgnuradio-fcd-3.7.3git.so.0.0.0: undefined reference to \`libusb\_handle\_events\_comple

**URL:** <https://www.ruby-forum.com/t/re-followup-libgnuradio-fcd-3-7-3git-so-0-0-0-undefined-reference-to-libusb-handle-events-comple/238403>\
**Category:** GNU Radio\
**Created:** [January 8, 2014, 6:22pm UTC](https://www.ruby-forum.com/t/re-followup-libgnuradio-fcd-3-7-3git-so-0-0-0-undefined-reference-to-libusb-handle-events-comple/238403 "2014-01-08T18:22:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [January 8, 2014, 6:22pm UTC](https://www.ruby-forum.com/t/re-followup-libgnuradio-fcd-3-7-3git-so-0-0-0-undefined-reference-to-libusb-handle-events-comple/238403/1 "2014-01-08T18:22:30Z")

</div>

On Jan. 8, 2013, George wrote:

> Same problem with libfaad2, fix recipe, and fix the cmake file that  
> set up where to look for both header files and library.  
> That was your solution also?

Hate to admit, was in a hurry so I just nuked the system library copy,  
and replaced it with the ones that pybombs compiled. That worked, but  
not anywhere near as cleanly as the solution you’ve outlined… :-/

Best

Max

---

<div class="post-metadata">

**Author:** ![ikjtel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/bc8723/32.png) [@ikjtel](https://www.ruby-forum.com/u/ikjtel)\
**Post date:** [January 8, 2014, 6:33pm UTC](https://www.ruby-forum.com/t/re-followup-libgnuradio-fcd-3-7-3git-so-0-0-0-undefined-reference-to-libusb-handle-events-comple/238403/2 "2014-01-08T18:33:36Z")

</div>

On 01/08/2014 06:17 PM, ikjtel wrote:

> On Jan. 8, 2013, George wrote:
> 
> > Same problem with libfaad2, fix recipe, and fix the cmake file that  
> > set up where to look for both header files and library.  
> > That was your solution also?
> 
> Hate to admit, was in a hurry so I just nuked the system library copy,  
> and replaced it with the ones that pybombs compiled. That worked, but  
> not anywhere near as cleanly as the solution you’ve outlined… :-/

Did not work the way I expected either, had to uninstall the system  
variant before cmake found that it could actually use the variant I put  
first.  
I reran from cmake, but it resolved to the system header files and lib,  
and I don’t understand why.  
The recipe is included below, while the cmake file is here:  
[https://github.com/rfz-com/gr-drm/commit/0f062bb97b1e742b829260653418c64520c4ee1d](https://github.com/rfz-com/gr-drm/commit/0f062bb97b1e742b829260653418c64520c4ee1d)

## faad2.lwr

category: baseline  
source: wget://[http://downloads.sourceforge.net/faac/faad2-2.7.tar.gz](http://downloads.sourceforge.net/faac/faad2-2.7.tar.gz)  
satisfy\_deb: libfaad-dev  
#satisfy\_rpm: faad2-devel  
configure {  
. bootstrap  
./configure --without-xmms --with-drm --without-mpeg4ip --with-pic  
}  
install {  
make  
cp include/faad.h include/neaacdec.h $prefix/include  
cp libfaad/.libs/libfaad.a $prefix/lib  
cp libfaad/.libs/libfaad.a $prefix/lib64  
}
