Instalation problem of Support Package for USRP® Hardware in Linux x64

Hello, I have the R2011a with Simulink. I will like to run the FmReceiver example on my USRP2. If I had I understood well, the only thing that I have to do is to install the Support Package for USRP® Hardware and burn at the USRP2's SD card the appropriate image.
I downloaded the Support Package and followed the instructions but I get this error:
Specify installation folder (default: /home/mpla/mpla/usrp_v1_0_R2011a):
Inconsistency detected by ld.so: dl-open.c: 582: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!
Error: Corrupted archive? Cannot locate "installHelper.mat" within extracted files.
Aborting installation...
I think this problem is caused by missing 32bit libraries (?) on my system. Is there any solution to this? Or can somehow to find which libraries are needed in order to install them?
Thanks in advance.

3 Comments

Where did you get the Support Package? Unless it is provided by MathWorks, you may want to contact the vendor/author.
Hi, I downloaded it from Mathworks.
In particular, it is at http://www.mathworks.com/discovery/sdr/usrp.html

Sign in to comment.

 Accepted Answer

We are seeing the same problem running 2011b on OpenSuse 11.4
I have not solved the problem yet, but I could narrow it down, that matlab has a problem running unzip.
If you run then following command within matlab in the installation folder, then you will get the same error message as from the installer:
!unzip -qq -d .tmp_patch commusrp_L_v2_1.mwd
We have had similar problems before, it was related to system libraries being newer than the one distributed with matlab.
Regards, Ulli

3 Comments

Ok, the culprit are libraries again, in this case libgcc_s.so.1 and libstdc++.so.6
Try running matlab from the shell using:
LD_PRELOAD=/lib64/libgcc_s.so.1:/usr/lib64/libstdc++.so.6 matlab
then you should be able to install. Maybe you have to modify the path to the two libraries if they are not installed in the standard pathes.
I have not fully tested if everything runs ok after that.
Hi Ulli, I am on openSuse 11.4 too. Today I extracted manually the commusrp_L_v1_0.mwd and was able to run the findusrp.m file successfully, but I couldn't run the FmReceiver example from Simulink. Perhaps I forgot to do something that the installer does. Tomorrow I will check your solution and I will post again. Many thanks!
Ok, your suggestion worked! Thanks a lot!

Sign in to comment.

More Answers (0)

Categories

Find more on Communications Toolbox in Help Center and File Exchange

Asked:

on 28 Nov 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!