
Tue, 03/13/2007 - 08: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
Tue, 03/13/2007 - 15: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.
Wed, 03/14/2007 - 02: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
Mon, 01/07/2008 - 14: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-l...
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.
Mon, 02/04/2008 - 22:09
Hi
J have the same problem. Do you resolve it?
Mon, 02/04/2008 - 23:11
Try:
sudo java -classpath -cp -jar ./setup.jar
Wed, 02/06/2008 - 19: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.
Thu, 02/07/2008 - 20:56
Maciej,
Are you also from Poland?