Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
 

installation error: libstdc++-libc6.1-1.so.2

installation error: libstdc++-libc6.1-1.so.2
Jose Direito 2007/03/13 06:34
hi,

I'm trying to install opencascade on Fedora Core 6 and get this error:

# ./install.csh
InstallShield Wizard

Initializing InstallShield Wizard...

Preparing Java(tm) Virtual Machine...
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
......../tmp/isjnz1JGx/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


The problem is that this library does not exist for FC6 (I can find only for FC4?!) FC6 has a newer lib and I can not install the required one because of compatibility problems.
Now, I would be very appreciated (me and the all the huge communities using recent linux distros that could make this project go further) that you, the developers, PLEASE release a version that can run no only on END OF LIFE OSs (RH 7.3 and 8????!?!? no one is using this!).
Are you waiting for a company to use Fedora or Suse or Ubuntu so you can release it? PLEASE...

Thank you for your time and consideration,

josedireito
Nicolas VINOT 2007/03/13 13:26
Create a symbolic link from your /usr/lib/libstdcXXX to libstdc++-libc6.1-1.so.2

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

This trick works on my Debian, where libstdc++-libc6.1-1.so.2 doesn't exist too.
Jose Direito 2007/03/14 00:15
hi,

thanks for the tip, but i've seen it in a post of this forum (perhaps yours:)) and it did not solve the problem...

regards
Roberto Putzu 2008/01/07 12:49
I experienced the same problem as the other user. I am a Kubuntu user (debian distribution)

I tried to link the only libstdc++XXX I had (libstdc++.so.6). The only result I got was the segmentation fault error instead of the missing library error.

As far as I know, such a library is not the same as the one required. On another forum I read that this library does not exist for debian distribuions and must be translated for it by the "alien" command. I used the following code, inspiring to the other forum's user:

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

It worked for me (neither prompted a missing library error nor seg-faulted).
Although I don't get any error message, the installation immediately stops and I don't see changes in the installation directory configuration.
I read the install.htm file and tried the command

sudo java -cp -jar /Software/OpenCascade/Linux/setup.jar < /tmp > run

the system prompts:

Exception in thread "main" java.lang.NoClassDefFoundError: /Software/OpenCascade/Linux/setup/jar
Caused by: java.lang.ClassNotFoundException: .Software.OpenCascade.Linux.setup.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:221)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:209)
at java.lang.ClassLoader.loadClass(ClassLoader.java:324)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:269)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:337)
Error: Could not find the main class.
Error: A JNI error has occurred, please check your installation and try again


Could you please help me with this? I don't know how to preceed.
Jacek 2008/02/04 20:09
Hi
J have the same problem. Do you resolve it?
Jacek 2008/02/04 21:11

Try:
sudo java -classpath -cp -jar ./setup.jar

Maciej Stankiewicz 2008/02/06 17:21
To install OpenCascade you have to run the following command:
java -cp setupfilepath.jar run
where setupfilepath.jar is a full path to the setup.jar file in the "Linux" directory in the downloaded tgz archive.
Pawel Dobrowolski 2008/02/07 18:56
Maciej,
Are you also from Poland?
 
 
Latest news
  • OCCT Applications
  • Open CASCADE Technology 6.8.0 is available for download!
  • New features to enhance the development process

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map