ActiView on Linux: file missing

Post Reply
davide
Posts: 15
Joined: Tue Jan 27, 2015 12:13 pm
Location: Colchester
Contact:

ActiView on Linux: file missing

Post by davide » Tue Jan 27, 2015 12:25 pm

Dear all,
I am trying to run ActiView on Linux (either Ubuntu 12.10 32 bit or Ubuntu 14.04 64 bit), but I always get the same error:

libmkl_lapack64.so: cannot open shared object file: No such file or directory

If I press OK, I get other error messages regarding LabVIEW resources not found:
- NI_AALBase.lvlib: IIR Cascade Filter (DBL).vi
- NI_AALBase.lvlib: Bessel Coefficients.vi
- NI_AALBase.lvlib: IIR Cascade Filter with I.C. (DBL).vi
- NI_AALBase.lvlib: Chebyshev Coefficients.vi

And then a final error message containing saying that those resources are missing in VI GSR16.vi, VI Ref-Ana.vi, VI Ref-Mon-Jazz.vi, VI Ref-Avg-New.vi, VI Ref-Bip-New4.vi and VI Sensor.vi.
The window of ActiView is eventually showed, but the buttons to start/stop the system are not working.

I have downloaded the LabView Runtime Engine 8.5 from here (http://www.ni.com/download/labview-run- ... .5/868/en/) since the link on BioSemi website is not working anymore.
Also, I have downloaded and installed USB driver for linux and ActiView for Linux. My LD_LIBRARY_PATH is set to /usr/local/lib/LabVIEW-8.5.

Is there anyone that know how to solve this problem?

Thanks,
Davide
Attachments
errors.png
Set of errors
errors.png (7.35 KiB) Viewed 10491 times

Coen
Site Admin
Posts: 961
Joined: Fri Mar 26, 2004 7:00 pm
Location: Amsterdam, Netherlands
Contact:

Re: ActiView on Linux: file missing

Post by Coen » Tue Jan 27, 2015 5:06 pm

The error is caused because the basic filter VIs are missing from the RTE version your are using (apparently, this RTE only contains LabVIEW BASE, not FULL, we have also seen this on RTEs for Mac).

We will compile a new Linux executable with included filter libraries.

Best regards, Coen (BioSemi)

davide
Posts: 15
Joined: Tue Jan 27, 2015 12:13 pm
Location: Colchester
Contact:

Re: ActiView on Linux: file missing

Post by davide » Tue Jan 27, 2015 8:10 pm

Thank you, please let me know when you have uploaded the new executable.

User avatar
Gerben
Posts: 15
Joined: Fri Sep 24, 2010 4:36 pm

Re: ActiView on Linux: file missing

Post by Gerben » Wed Feb 04, 2015 5:39 pm

Did you install both the "labview85-rte-8.5-1.i386.rpm" and the "labview-rte-aal-1.1-1.i386.rpm" from http://www.ni.com/download/labview-run- ... .5/868/en/ ?
The Libraries that you are missing should be in the "labview-rte-aal-1.1-1.i386.rpm" install file.

Gr Gerben

davide
Posts: 15
Joined: Tue Jan 27, 2015 12:13 pm
Location: Colchester
Contact:

Re: ActiView on Linux: file missing

Post by davide » Wed Feb 04, 2015 6:41 pm

I installed labview85-rte-8.5-1.i386.rpm only but, after your message, I installed also the labview-rte-aal-1.1-1.i386.rpm.
Nothing changed. :cry:

User avatar
Gerben
Posts: 15
Joined: Fri Sep 24, 2010 4:36 pm

Re: ActiView on Linux: file missing

Post by Gerben » Mon Feb 09, 2015 1:07 pm

I have tried it with my own system running ubuntu 14.04 tls 64bit.
If I install the "labview85-rte-8.5.1.i386.rpm" only, i am getting the same error that you described.
But if i install the "labview-rte-aal-1.1-1.i386.rpm" as well Actiview starts normally and every thing works fine.

The "labview-rte-aal-1.1-1.i386.rpm" only adds the following files to my system:
/usr/local/lib/libguide.so
/usr/local/lib/libmkl_def.so
/usr/local/lib/libmkl_lapack64.so
/usr/local/lib/libmkl_p3.so
/usr/local/lib/libmkl_p4p.so
/usr/local/lib/libmkl_p4.so
/usr/local/lib/libmkl.so
Can you check if these files are present on your system?

Gr Gerben

davide
Posts: 15
Joined: Tue Jan 27, 2015 12:13 pm
Location: Colchester
Contact:

Re: ActiView on Linux: file missing

Post by davide » Mon Feb 09, 2015 2:12 pm

Hi Gerben,
Thanks a lot for your post.

I do have that libraries in that path, but ActiView is looking for them under /usr/lib/ path. So, by simply creating a symbolic link through:
sudo ln -s /usr/local/lib/libmkl.so /usr/lib/libmkl.so
I solved the problem.

Do you know the name of the environment variable to set to be sure that ActiView check the /usr/local/lib/ directory for those libraries?

Many thanks!
Davide

User avatar
Gerben
Posts: 15
Joined: Fri Sep 24, 2010 4:36 pm

Re: ActiView on Linux: file missing

Post by Gerben » Mon Feb 09, 2015 2:24 pm

That is strange.
On my system ActiView defaults to /usr/local/lib/ for the libraries.
It was not necessary to change any environment variable.

Gr Gerben

davide
Posts: 15
Joined: Tue Jan 27, 2015 12:13 pm
Location: Colchester
Contact:

Re: ActiView on Linux: file missing

Post by davide » Mon Feb 09, 2015 2:32 pm

Yes it is.
However, I have found the solution. Simply append that path to the LD_LIBRARY_PATH variable through:

export LD_LIBRARY_PATH=/usr/local/lib/LabVIEW-8.5:/usr/local/lib

davide
Posts: 15
Joined: Tue Jan 27, 2015 12:13 pm
Location: Colchester
Contact:

Re: ActiView on Linux: file missing

Post by davide » Tue Feb 10, 2015 11:00 am

I have made a script to install ActiView on Ubuntu PCs that I am using to install it in several workstations.

However, in one PC, it can't find the liblabview_dll.so.0. It opens a window asking me to select the file, but when I select it (because it is there!), it says that it is not a valid LabView file (see attachment). I read on the forum that it usually means that the LD_LIBRARY_PATH is not set properly, but it is, since I have the same configuration in every machine.

Do you have any idea on how to solve this problem?

Thanks
Attachments
asd.png
asd.png (3.33 KiB) Viewed 10399 times

User avatar
Gerben
Posts: 15
Joined: Fri Sep 24, 2010 4:36 pm

Re: ActiView on Linux: file missing

Post by Gerben » Tue Feb 10, 2015 11:37 am

which version of the driver are you using?
the 32bit or the 64bit version?

Gr Gerben

davide
Posts: 15
Joined: Tue Jan 27, 2015 12:13 pm
Location: Colchester
Contact:

Re: ActiView on Linux: file missing

Post by davide » Tue Feb 10, 2015 11:43 am

The error occurs only with the 64bit driver. But in one 64bit machine it works, in another it doesn't.

User avatar
Gerben
Posts: 15
Joined: Fri Sep 24, 2010 4:36 pm

Re: ActiView on Linux: file missing

Post by Gerben » Tue Feb 10, 2015 12:10 pm

Because the LabView Runtime Engine 8.5 is only available in 32bit, Actiview for linux is also only available in 32bit.
This unfortunately means that Actiview for linux can only work with the 32bit version of the driver.

Actiview should have a 32bit copy of the driver(liblabview_dll.so.0) included in the data subdirectory.
And should automatically use this copy if libusb is installed.

Do you have the 32bits version of libusb installed?
You can install this by executing "sudo apt-get install libusb-1.0-0:i386".

Gr Gerben

davide
Posts: 15
Joined: Tue Jan 27, 2015 12:13 pm
Location: Colchester
Contact:

Re: ActiView on Linux: file missing

Post by davide » Tue Feb 10, 2015 12:35 pm

Awesome!
This solved my problem. Thanks a lot!

Post Reply