E-box/Install manual/FAQ: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
 
Line 7: Line 7:
     ls -al /usr/lib/libstdc++*
     ls -al /usr/lib/libstdc++*


Output should look like
Output should look like, i.e. one link and one library file


     lrwxrwxrwx 1 root root      19 2011-02-09 21:32 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.13
     lrwxrwxrwx 1 root root      19 2011-02-09 21:32 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.13
     -rw-r--r-- 1 root root 1044112 2010-03-27 01:16 /usr/lib/libstdc++.so.6.0.13
     -rw-r--r-- 1 root root 1044112 2010-03-27 01:16 /usr/lib/libstdc++.so.6.0.13
Otherwise create a symbolic link to the desired library version (change the x in the command below)
   
    cd /usr/lib
    sudo ln -sf libstdc++.so.x libstdc++.so

Latest revision as of 17:58, 14 November 2011

Frequently Asked Questions

A fatal error occurs when running a compiled model

Check if multiple versions of libstdc++ are installed by

   ls -al /usr/lib/libstdc++*

Output should look like, i.e. one link and one library file

   lrwxrwxrwx 1 root root      19 2011-02-09 21:32 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.13
   -rw-r--r-- 1 root root 1044112 2010-03-27 01:16 /usr/lib/libstdc++.so.6.0.13

Otherwise create a symbolic link to the desired library version (change the x in the command below)

   cd /usr/lib
   sudo ln -sf libstdc++.so.x libstdc++.so