01-29-2009 06:39 AM
dear all,
I just installed labview 8.5 for linux on an Ubuntu 8.4 machine, but launching the sw I get the message:
./labview: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory.
I checked in the /usr/lib and the newer version of the libstdc++.so.6 is present, so, I can not understand why it is not possible to locate the library...
sorry, I am pretty new in linux..
regards,
Edo
Solved! Go to Solution.
01-29-2009 07:17 AM
Edo777 wrote:./labview: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory.
I checked in the /usr/lib and the newer version of the libstdc++.so.6 is present, so, I can not understand why it is not possible to locate the library...
Try making a (symbolic) link called libstdc++.so.5 pointing to libstdc++.so.6. Now, I'm not sure how the sudo thing in Ububububu works, I use another distribution, but I think it would look something like this:
sudo ln -s /usr/lib/libstdc++.so.6 /us/lib/libstdc++.so.5
Notice, that the library is of a slightly newer version, I can't guarantee full backwards compatibility. But it's worth a shot right?
Hope it helps!
01-29-2009 07:46 AM
01-29-2009 10:09 AM
In case you don't want to bluff LabVIEW into using a different version, LabVIEW includes the correct libstdc++ shared library in its directory tree. Look in the "linux" directory for your version of LabVIEW. I have 8.2 installed on my system:
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)