More on solving the libstdc++-libc6.1-1.so.2 issue for Opencascade for Gutsy Gibbon

Ok… I was reflecting on last nights failure of installing the OCC documentation files.

  • I’m pretty sure, I have java setup correctly but am not positive.
  • The documentation should have have dumped into /opt/OCCTDocumentation6.2.0 directory. This didn’t happen.
    I wonder if I needed to put a sudo before entering the command line.. (worth a try)

jonas@jonas-desktop:~$ cd Opencascade_documentation
jonas@jonas-desktop:~/Opencascade_documentation$ csh
% ls
Autorun.inf install.bat OpenCASCADE_doc.tgz readme.htm
images install.csh package
% 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…
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
.endif
% bash
jonas@jonas-desktop:~/Opencascade_documentation$ cd ..
jonas@jonas-desktop:~$ cd /
jonas@jonas-desktop:/$ ls
bin cdrom etc initrd lib media opt root srv tmp var
boot dev home initrd.img lost+found mnt proc sbin sys usr vmlinuz
jonas@jonas-desktop:/$ cd opt
jonas@jonas-desktop:/opt$ ls
jonas@jonas-desktop:/opt$ cd ..
———————————————————————————
Ok then… sudo didn’t have an effect but it still isn’t a bad thing to try.
Test #2, Did I screwed something configuring java.. On 30 Mar 08 I found some instructions on configuring Java that I deviated from in place of others that I liked better… Might as give them a try and see what happens:
Here’s the link:http://ubuntuforums.org/archive/index.php/t-556314.html
which got the info the french ubuntu site:http://doc.ubuntu-fr.org/opencascade
(1) Install c shell
sudo apt-get install csh
(2) Install Sun Java 6
sudo apt-get install sun-java6-jdk
(3) Make sure, Sun Java 6 is used:
sudo update-alternatives –config java
Set as default the one entry that contains this string:
java-6-sun
Results:
jonas@jonas-desktop:~$ sudo apt-get install sun-java6-jdk
Reading package lists… Done
Building dependency tree
Reading state information… Done
sun-java6-jdk is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jonas@jonas-desktop:~$ sudo update-alternatives –config java
update-alternatives: unknown argument –config'
jonas@jonas-desktop:~$ sudo update-alternatives config java
update-alternatives: unknown argument
config’
jonas@jonas-desktop:~$ man update-alternatives
jonas@jonas-desktop:~$

———————————
Need to think about this one a bit. I think I may have screwed up Java….
Time for American Idol….

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

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