Solving the libstdc++-libc6.1-1.so.2 issue for Opencascade for Gutsy Gibbon

Ok… Researching this it seems that everyone and there uncle seems to have had this issue trying to install Opencascade on Ubuntu….
I guess this is my attempt.
Looking over the numerous threads spread across the internet this is the one it thought I pursue first:

At the bottom of the thread was this:http://www.opencascade.org/org/forum/thread_11215/
“Just FYI, this also works on Ubuntu Feisty. You also need to install libstdc++2.10-glibc2.2 then create a symbolic link from /usr/lib/libstdc++-libc6.2-2.so.3 to /usr/lib/libstdc++-libc6.1-1.so.2.
EH”
So checking stuff out.

jonas@jonas-desktop:~$ sudo updatedb
[sudo] password for jonas:
jonas@jonas-desktop:~$ locate /usr/lib/libstdc++-libc6.2-2.so.3
/usr/lib/libstdc++-libc6.2-2.so.3
jonas@jonas-desktop:~$ cd /usr/lib/libstdc++-libc6.2-2.so.3
bash: cd: /usr/lib/libstdc++-libc6.2-2.so.3: Not a directory
jonas@jonas-desktop:~$ cd /usr/lib
jonas@jonas-desktop:/usr/lib$ ls -a libstdc++-libc6.2-2.so.3
libstdc++-libc6.2-2.so.3
jonas@jonas-desktop:/usr/lib$

This has me befuddled at the moment…It appears that libstdc++-libc6.2-2.so.3 is not a folder. So what is it?? I sure there’s a way from spitting this out from the command line but using the file browser this appears to a link to a shared library( /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so to be precise) Ok so I think the command line I need to to the link is:

sudo ln -s libstdc++-libc6.2-2.so.3 /usr/lib/libstdc++-libc6.1-1.so.2

Results are:

jonas@jonas-desktop:~$ sudo ln -s libstdc++-libc6.2-2.so.3 /usr/lib/libstdc++-libc6.1-1.so.2
[sudo] password for jonas:
jonas@jonas-desktop:~$ sudo updatedb
jonas@jonas-desktop:~$ locate /usr/lib/libstdc++-libc6.1-1.so.2
/usr/lib/libstdc++-libc6.1-1.so.2
jonas@jonas-desktop:~$

It looks like it took… Know the test is to run the document installation script again and see what happens:
jonas@jonas-desktop:~$ cd Opencascade_documentation
jonas@jonas-desktop:~/Opencascade_documentation$ csh
% ls
Autorun.inf images install.bat install.csh OpenCASCADE_doc.tgz package readme.htm
% cd -x install.csh
Usage: cd [-lvn] [<dir>].
% csh -x install.csh
setenv JAVAHOME .
set OS_NAME=uname
uname
if ( Linux == SunOS ) then
if ( Linux == Linux ) then
./package/setupLinux.bin
InstallShield Wizard

Initializing InstallShield Wizard…

Preparing Java(tm) Virtual Machine…
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
..endif
%

I guess it took..
According to the readme.htm file in the download the documentation should have dumped into /opt/OCCTDocumentation6.2.0 directory
Well it didn’t…. I did a updatedb and tried to locate OCC and well here are the results.
jonas@jonas-desktop:~/Opencascade_documentation$ locate occ
/usr/share/pixmaps/faces/soccerball.png
/usr/share/pixmaps/pidgin/emotes/default/soccerball.png
jonas@jonas-desktop:~/Opencascade_documentation$ locate OCC
/home/jonas/Desktop/OCC50_Overview.pdf
jonas@jonas-desktop:~/Opencascade_documentation$

The pdf was something I found earlier…. Ah Heck…. It didn’t error out but it didn’t do what it was supposed to do.. Time for more research….. To quote the penguins from the movie Madagascar when they reach the Antarctic… Well… this sucks…. Time for bed..

This entry was posted in OpenCascade, Ubuntu C++ OCC. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *