LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Linux can not locate libstdc++.so.5

Solved!
Go to solution

 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

0 Kudos
Message 1 of 4
(3,213 Views)
Solution
Accepted by topic author Edo777

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! 

0 Kudos
Message 2 of 4
(3,201 Views)
thanks a lot for this hint! it worked greatly!
0 Kudos
Message 3 of 4
(3,195 Views)

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:

 

/usr/local/natinst/LabVIEW-8.2/linux> ls -l
total 2860
drwxrwxr-x 4 root users    4096 2008-09-19 11:12 gnome
drwxrwxr-x 3 root users    4096 2008-09-19 11:12 icons
drwxrwxr-x 4 root users    4096 2008-09-19 11:12 kde
lrwxrwxrwx 1 root users      16 2008-09-19 11:11 libOSMesa.so.4 -> libOSMesa.so.4.0
-r-xrwxr-x 1 root users 1428304 2006-06-06 15:24 libOSMesa.so.4.0
lrwxrwxrwx 1 root users      18 2008-09-19 11:11 libstdc++.so.5 -> libstdc++.so.5.0.3
-r-xrwxr-x 1 root users  720784 2006-06-13 18:03 libstdc++.so.5.0.3
-r-xrwxr-x 1 root users  740030 2007-02-22 18:00 LV82NPlugin.so
-r--rw-r-- 1 root users      56 2007-02-22 18:00 LV_RemotePanelConnection.lic
-r--rw-r-- 1 root users     644 2007-02-22 18:00 README.desktop
-r--rw-r-- 1 root users    1291 2007-02-22 18:00 README.libs

 

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)
0 Kudos
Message 4 of 4
(3,175 Views)