Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

vrtdark.so

when I am linking my linux application which uses NI-DAQmx Base 3.1.0f2 (running on fedora core 7 using kernel 2.6.23.17-88) I get the following warning

libstdc++.so.5 needed by liblvrtdark.so may conflict with libstdc++.so.6

 

The question I have is what features if any of libstdc++.so5 does this library use that may conflict with .so.6 ?

 

Is it possible to recompile the library (liblvrtdark) so that it uses libstdc++.so.6 instead of .so.5?

Is there a version of NI-DAQmx Base that supports the newer library? Is there a version of Labview for Linux that supports this?

 

 

0 Kudos
Message 1 of 8
(3,609 Views)
Hey BattelleV,

As you may or may not know, Fedora is not officially supported by National Instruments drivers and software. Below is a link listing offically supported Linux distributions.

What Linux Distributions Do National Instruments Drivers and Software Support?
http://digital.ni.com/public.nsf/allkb/35D2B5E483A001A18625716B005BE464?OpenDocument

I was also able to find a KB article relating to the libstdc conflict. I can't guarantee that this will fix your problem, but it may be worth a look at.

Installing LabVIEW 8 Breaks Other Software on SUSE Linux
http://digital.ni.com/public.nsf/allkb/F2AD60E7AD89E626862570C00080C4BA?OpenDocument
Regards,

Chris Delvizis
National Instruments
0 Kudos
Message 2 of 8
(3,583 Views)

Chris,

 

Irrespective of the distribution I am on, the problem I will run into is any g++ compiler over version 3.3 will link in libstdc++ version 6. You can't have both version 6 and 5 in the same process and have them be stable.

 

You need to rebuild vtdark and everything else for a newer compiler that supports version 6.

 

 

0 Kudos
Message 3 of 8
(3,581 Views)
Hey BattelleV,

I was able to dig deeper and find a little more information. None of the newer versions of LabVIEW or DAQmx Base support the newer libstdc++ library. All of supported distributions use the correct versions of the libraries that are compatible with the driver. It will not be possible to rebuild the library yourself because we do not release the source.

Additionally, I noticed that you said you were using g++ compiler. DAQmx Base is only compatible with C, not C++. There have been some members of the community that have worked on using DAQmx Base with Fedora and even in C++, but since this is not supported, any further assistance will have to come from them.
Regards,

Chris Delvizis
National Instruments
0 Kudos
Message 4 of 8
(3,566 Views)

Chris,

 

I realize that we don't have the source code to rebuild the libraries, can you rebuild the libraries and send them to us? This will greatly ease our compatibility problems.

 

 

0 Kudos
Message 5 of 8
(3,562 Views)
BattelleV,

I wish I could help more, but unfortunately I don't have the source code and we won't have the R&D resources to rebuild things for each different customer case. This is why only certain distributions are supported. Also, it is not as simple as just rebuilding this one library. There would have to be additional changes to the driver itself.

Are you able to build any of the examples in the ANSI C example folder? Could you uninstall libstdc++.so.6 or try excluding it from the linker?
Regards,

Chris Delvizis
National Instruments
0 Kudos
Message 6 of 8
(3,543 Views)
I am able to the examples but I get the linker warning.
0 Kudos
Message 7 of 8
(3,538 Views)
BattelleV,

The linker warning is still there probably because you have some system libraries that DAQmx Base uses that are dependent on libstdc++.so.6. Here are the options you have with the issue:

- Try to exclude the so.6 library from the linker to resolve the warning.
- Ignore the warning and cross your fingers that everything works properly.
- Switch to a supported distribution where this problem will not exist.
- Wait for or seek out assistance from other members of the community who may have experience using unsupported distributions.
Regards,

Chris Delvizis
National Instruments
0 Kudos
Message 8 of 8
(3,518 Views)