ActiView on Linux: file missing
ActiView on Linux: file missing
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
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
- errors.png (7.35 KiB) Viewed 26271 times
-
- Site Admin
- Posts: 1125
- Joined: Fri Mar 26, 2004 7:00 pm
- Location: Amsterdam, Netherlands
- Contact:
Re: ActiView on Linux: file missing
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)
We will compile a new Linux executable with included filter libraries.
Best regards, Coen (BioSemi)
Re: ActiView on Linux: file missing
Thank you, please let me know when you have uploaded the new executable.
Re: ActiView on Linux: file missing
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
The Libraries that you are missing should be in the "labview-rte-aal-1.1-1.i386.rpm" install file.
Gr Gerben
Re: ActiView on Linux: file missing
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.![Crying or Very sad :cry:](./images/smilies/icon_cry.gif)
Nothing changed.
![Crying or Very sad :cry:](./images/smilies/icon_cry.gif)
Re: ActiView on Linux: file missing
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
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
Re: ActiView on Linux: file missing
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
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
Re: ActiView on Linux: file missing
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
On my system ActiView defaults to /usr/local/lib/ for the libraries.
It was not necessary to change any environment variable.
Gr Gerben
Re: ActiView on Linux: file missing
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
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
Re: ActiView on Linux: file missing
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
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 (3.33 KiB) Viewed 26179 times
Re: ActiView on Linux: file missing
which version of the driver are you using?
the 32bit or the 64bit version?
Gr Gerben
the 32bit or the 64bit version?
Gr Gerben
Re: ActiView on Linux: file missing
The error occurs only with the 64bit driver. But in one 64bit machine it works, in another it doesn't.
Re: ActiView on Linux: file missing
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
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
Re: ActiView on Linux: file missing
Awesome!
This solved my problem. Thanks a lot!
This solved my problem. Thanks a lot!