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 »

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
Set of errors
Set of errors
errors.png (7.35 KiB) Viewed 25614 times

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

Re: ActiView on Linux: file missing

Post by Coen »

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 »

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

Gerben
Posts: 26
Joined: Fri Sep 24, 2010 4:36 pm

Re: ActiView on Linux: file missing

Post by Gerben »

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 »

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:

Gerben
Posts: 26
Joined: Fri Sep 24, 2010 4:36 pm

Re: ActiView on Linux: file missing

Post by Gerben »

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 »

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

Gerben
Posts: 26
Joined: Fri Sep 24, 2010 4:36 pm

Re: ActiView on Linux: file missing

Post by Gerben »

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 »

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 »

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 25522 times

Gerben
Posts: 26
Joined: Fri Sep 24, 2010 4:36 pm

Re: ActiView on Linux: file missing

Post by Gerben »

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 »

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

Gerben
Posts: 26
Joined: Fri Sep 24, 2010 4:36 pm

Re: ActiView on Linux: file missing

Post by Gerben »

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 »

Awesome!
This solved my problem. Thanks a lot!

Post Reply