Monday, August 8, 2011

[Discuss-gnuradio] Creating a new GNU Block

Hello All,

I am trying to make a new block for GNU Radio, which uses MATLAB (MCR).

When I get to the 'sudo make check' stage, it gives me the following error:

"/usr/bin/isn/lib/.libs/lt-test_all: error while loading shared libraries: libmwmclmcr.so: cannot open shared object file: No such file or directory"

"libmwmclmcr.so" is located in "/usr/local/matlab/r2010b/bin/glnxa64", and I _have_ included this in the Makefile.am as follows:

MATLAB_ROOT = /usr/local/matlab/r2010b

MY_LIB_ROOT=$(HOME)/homedir/gnuradio/Blocks/MI

LD_LIBRARY_PATH=$(MATLAB_ROOT)/bin/glnxa64:/usr/lib64:$(MATLAB_ROOT)/runtime/glnxa64:$(MATLAB_ROOT)/bin/glnxa64:$(MATLAB_ROOT)/sys/os/glnxa64:$(MATLAB_ROOT)/sys/java/jre/glnxa64/jre/libamd64/native_threads:$(MATLAB_ROOT)/sys/java/jre/glnxa64/jre/lib/amd64/server:$(MATLAB_ROOT)/sys/java/jre/glnxa64/jre/lib/amd64:$(MY_LIB_ROOT)

It is also in my ~/.bashrc file.

I can get past this error by copying the libmwmclmcr.so to the folder /usr/lib64/, and then I can get through the entire 'boostrap/configure/make/install' procedure successfully without any errors, but then the actual block does nothing!

Could anyone help me out with this please? I have tried everything I could possibly think of..

Thanks,
OGLES

No comments:

Post a Comment