On Thu, Mar 05, 2009 at 02:52:36PM -0500, Mike Leferman wrote: > I ran those commands and those are the outputs I got.
It sounds like you're building your own code outside of our framework. Are you passing all of those flags to g++ when you're compiling and linking? Did you do a $ sudo ldconfig sometime after installing libgruel? > On Thu, Mar 5, 2009 at 1:09 PM, Eric Blossom <[email protected]> wrote: > > > On Thu, Mar 05, 2009 at 12:47:24PM -0500, Mike Leferman wrote: > > > I'm using Ubuntu 8.10, and /usr/local/lib is in my ld.so.conf. Does > > > ldconfig just update ld.so.conf? My program finds libusrp2 in the > > > /usr/local/lib folder, so it should be able to find libgruel (which I'm > > > guessing is the problem?) Do I have to have my program link libgruel as > > > well? Is this failing because I don't use usrp2.lo when i link the > > library? > > > Thanks for the help! > > > - Mike > > > > Try using pkg-config to get the usrp2 dependencies: > > > > $ pkg-config usrp2 --cflags > > -DOMNITHREAD_POSIX=1 -pthread -I/usr/local/include > > -I/usr/local/include/gnuradio > > > > $ pkg-config usrp2 --libs > > -L/usr/local/lib -lusrp2 -lgromnithread -lgruel > > > > Eric > > _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
