Try #2 on the OCC Documentation install

Ok… Here we go…
————————-
jonas@ubuntu1:~$ ls
Desktop Examples OCC_documentation Public Videos
Documents Music Pictures Templates
jonas@ubuntu1:~$ cd OCC_documentation
jonas@ubuntu1:~/OCC_documentation$ ls
Autorun.inf install.bat OpenCASCADE_doc.tgz readme.htm
images install.csh package
jonas@ubuntu1:~/OCC_documentation$ csh
% sudo csh -x install.csh
[sudo] password for jonas:
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…
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
/tmp/isjNjykwu/bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory

endif
%
————————-
opps forgot about that. Try some more
————————————
% bash
jonas@ubuntu1:~/OCC_documentation$ sudo ln -s libstdc++-libc6.2-2.so.3 /usr/lib/libstdc++-libc6.1-1.so.2
jonas@ubuntu1:~/OCC_documentation$ csh
% sudo 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…
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
………………………/tmp/isjvdGYXM/bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory

endif
% bash
jonas@ubuntu1:~/OCC_documentation$ sudo ln -s libstdc++-libc6.2-2.so.3 /usr/lib/libstdc++-libc6.1-1.so.2
ln: creating symbolic link /usr/lib/libstdc++-libc6.1-1.so.2' to libstdc++-libc6.2-2.so.3′: File exists
jonas@ubuntu1:~/OCC_documentation$
—————————————————
Ok…. so this is new… Googling”bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory”

Ok… Syesha is in the bottom 3, including the Irish girl Carley Smithson, and the Australian Michael Johns….. Hmmmm as Simon will say, America got it right….. I still think its Syesha..

Anyway, I think I found a solution that looks promising here:http://www.opencascade.org/org/forum/thread_11094/

Hmm it seems that their saying this is not in the debian distribution. The code to correct is listed as:
mkdir tmp
cd tmp
wget ftp://fr2.rpmfind.net/linux/fedora/core/6/x86_64/os/Fedora/RPMS/compat-libstdc++-296-2.96-138.i386.rpm
sudo alien –to-tgz compat*rpm
tar zxf compat*tgz
cd usr/lib
cp sudo cp libstdc++-3-libc6.2-2-2.10.0.so /usr/lib/libstdc++-libc6.1-1.so.2

Whooo Michael John?? I didn’t see that one coming..
Back to business I wonder if I need to unlink my sym link… Do I and if so, how do I do that??
More research….

remove symboliclink (ln -s) – Ubuntu Forums

Hold on a second…. Did I forget to re-install “libstdc++-3-libc6.2-2-2.10.0.so”?? (That the nice thing about this blog I can go back through my notes. Nope… Good here.

jonas@ubuntu1:~$ ls
Desktop Documents Examples Music OCC_documentation Pictures Public Templates tmp Videos
jonas@ubuntu1:~$ cd tmp
jonas@ubuntu1:~/tmp$ ls
jonas@ubuntu1:~/tmp$ wget
wget: missing URL
Usage: wget [OPTION]… [URL]…

Try wget --help' for more options.
jonas@ubuntu1:~/tmp$ wget ftp://fr2.rpmfind.net/linux/fedora/core/6/x86_64/os/Fedora/RPMS/compat-libstdc++-296-2.96-138.i386.rpm
--20:09:24-- ftp://fr2.rpmfind.net/linux/fedora/core/6/x86_64/os/Fedora/RPMS/compat-libstdc++-296-2.96-138.i386.rpm
=>
compat-libstdc++-296-2.96-138.i386.rpm’
Resolving fr2.rpmfind.net… 195.220.108.108
Connecting to fr2.rpmfind.net|195.220.108.108|:21… connected.
Logging in as anonymous … Logged in!
==> SYST … done. ==> PWD … done.
==> TYPE I … done. ==> CWD /linux/fedora/core/6/x86_64/os/Fedora/RPMS …
No such directory `linux/fedora/core/6/x86_64/os/Fedora/RPMS’.
——————————–_
@#%@# So much for the easy fix.
Time to google “ftp://fr2.rpmfind.net/linux/fedora/core/6/x86_64/os/Fedora/RPMS/compat-libstdc++-296-2.96-138.i386.rpm”
Not results… Makes sense.. Googling ftp://fr2.rpmfind.net libstdc++-libc6.1-1.so.2
results in a 4 hits these 2 look interesting:

32 bit prog requires libstdc++-libc6.1-1.so.2 [Archive] – Ubuntu

[Archive] 32 bit prog requires libstdc++-libc6.1-1.so.2 x86 64-bit Users. wget ftp://fr2.rpmfind.net/linux/fedora/core/5/x86_64/o s/Fedora/RPMS/compat-
ubuntuforums.org/archive/index.php/t-237829.html – 6kCachedSimilar pages

32 bit prog requires libstdc++-libc6.1-1.so.2 – Ubuntu Forums

32 bit prog requires libstdc++-libc6.1-1.so.2 x86 64-bit Users. mkdir tmp cd tmp wget ftp://fr2.rpmfind.net/linux/fedora/core/5/x86_64/os/Fedora/RPMS/
ubuntuforums.org/showthread.php?t=237829Similar pages
More results from ubuntuforums.org ยป

 

Family wants attention going to need to look at this later….

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

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