06-06-2013 12:35 AM - edited 06-06-2013 12:36 AM
I installed NAQmx Base 3.6, and it didn't output any errors, but when I try to make the examples given in /usr/local/natinst/nidaqmxbase/examples/ai, it returns a lot of errors (attached). Is there a way to fix this? I also tried just compiling the files without the make file, but it returned divide by 0 errors.
System specs:
# uname -a
Linux localhost.localdomain 2.6.32-358.6.2.el6.x86_64 #1 SMP Thu May 16 11:21:38 CDT 2013 x86_64 x86_64 x86_64 GNU/Linux
I did notice that nilsdev isn't found. lsmod gives the following:
# lsmod | grep ni
nimxdfk 668960 1
nipxirmk 272550 1
nimdbgk 520774 3 nimxdfk,nipxirmk
nidimk 421013 2 nipxirmk
niorbk 126140 4 nimxdfk,nipxirmk,nimdbgk,nidimk
nipalk 1595877 8 NiViPciK,nimxdfk,nipxirmk,nimdbgk,nidimk,niorbk
nikal 86684 2 nipxirmk,nipalk
cnic 55511 2 bnx2fc,bnx2i
uio 10462 1 cnic
ipv6 321454 32 ip6t_REJECT,nf_conntrack_ipv6,nf_defrag_ipv6,cnic
What should I do?
Thanks!
06-06-2013 08:40 AM
The errors look like the system is missing the 32-bit C++ library. Do you have the 32-bit libraries installed [1]?
error.log:
/usr/bin/ld: warning: libstdc++.so.6, needed by /usr/local/lib/liblvrtdark.so.12.0, not found (try using -rpath or -rpath-link)
[1] Unable to Build DAQmx Base C Application on 64-bit RedHat
http://digital.ni.com/public.nsf/allkb/93C92D41B25341B286257A4D007BACB8
Joe Friedchicken
NI Configuration Based Software Get with your fellow OS users
[ Linux ] [ macOS ]Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
06-06-2013 09:33 AM
Oh! I guess I missed the package that provided libstdc++.so.6 when I was downloading the packages from http://digital.ni.com/public.nsf/allkb/93C92D41B25341B286257A4D007BACB8. Thank you so much!