On Thu, Mar 5, 2009 at 1:09 PM, Eric Blossom
<address@hidden> 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