Hi all,
First of all thanks
Hi all,
First of all thanks for a lot of useful messages here, they helped me through the installation. Now, My installation is working, except I cannot run FoamX. I get the following message: -------------------------------------- Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/kgrande/OpenFOAM/linux/j2sdk1.4.2_05/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.jav a:1586) at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1503) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:834) at sun.security.action.LoadLibraryAction.run(LoadLibr aryAction.java:50) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoa der.java:38) at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29) at java.awt.Component.<clinit>(Component.java:506) /home/kgrande/OpenFOAM/OpenFOAM-1.1/bin/runFoamXHB: line 131: 7295 Killed FoamXHostBrowser -ORBNamingAddr $myIOP runFoamXHB : cleanup runFoamXHB: Killing name server nsd(pid 7291 ----------------------------------------------- libawt.so is where it should be, but I can't find libXp.so.6 . Is that supposed to be inside libawt.so, or somewhere else? I have tried to install Java again, even a newer version from the java website. But I still get the same problem. does anyone have any hints on what to do next? I am running Fedora 3. Sorry to say I am not a linux expert... Thanks, Kris |
Try installing libXp.so.6.
Try installing libXp.so.6.
This is a system library (my man page says: libXp - X Print Client Library). Java seems to require this library. |
Hi,
I have a similiar probl
Hi,
I have a similiar problem running FoamX. When I run it, an error occurs also at line 131 like yours. See "Segmentation fault" topic. What system are you using. I had this problem on a laptop. |
Possibly somewhat belated, but
Possibly somewhat belated, but in case anyone else is running into this:
For current Debian systems this lives in the libxp6 package (and should be installed automatically if you use the existing tools to generate a Debian package based on the Sun J2SDK 1.4.2_05, and install that via the packaging system). It appears to come from the standard X builds, so I suspect that using the auto-searching RPM tools (up2date? I haven't used RH much recently) to look for one providing the file /usr/lib/libXp.so.6, or for the X Windows / xprint packages, should produce something useful. |
Hi, I am also not a linux expe
Hi, I am also not a linux expert and all the help given is far too technical for me to understand. When I search online for the packages suggested, I am left even more baffled. I am having the exact same problem as the very 1st message in this thread. I would really appreciate it if someone could explain in really plain English what I should do, how I should do this and where I can go for whatever they suggest! Many Thanks.
|
Hej,
I have problem with libX
Hej,
I have problem with libXp.so.6 It is located /usr/X11R6/lib/libXp.so.6 When i type FoamX, it gives an error ... libXp.so.6: cannot open shared object file: No such file or directory What I should do? thank u, Rita |
Hello,
I could probably hel
Hello,
I could probably help you if I knew what distribution of Linux you are using... For example, if you are using the Fedora Core, there are two RPMs you need to install: libXp libXp-devel And Rita, It looks like the location of your libXp.so.6 is not right... usually this file is found in /usr/lib/ As long as it is in one of the locations which are looked into when a program tries to load libraries at run time, its ok... but from the error message, I dont think /usr/X11R6/lib/ is one of those locations in the path. It should work if you either copy that file to /usr/lib, or make a symbolic link: ln -s /usr/X11R6/lib/libXp.so.6 /usr/lib/libXp.so.6 Try that out. Usually the libXp installation package should be present in your Linux install CDs... it may not be installed by default. Have a nice day! Philippose |
Thank you very much Philippose
Thank you very much Philippose.
I made a link, as u said and now it is working. THANK YOU!!!! Rita |
Hej,
Now I faced with anothe
Hej,
Now I faced with another problem: HostBrowser running..... Using jar /home/Administrator/OpenFOAM/OpenFOAM-1.3/applications/utilities/preProcessing/F oamX/lib/FoamX.jar Using jar /home/Administrator/OpenFOAM/OpenFOAM-1.3/applications/utilities/preProcessing/F oamX/lib/jlfgr-1_0.jar FoamX.Exceptions.FoamXException: Default name service could not be contacted. at FoamX.App.initialiseHostBrowser(App.java:512) at FoamX.App.initialise(App.java:343) at FoamX.App.main(App.java:186) Do you know how to fix it? thanks again for your kind help! Rita |
Hi again,
Ok... this is an
Hi again,
Ok... this is an error I had a few days ago, and I hope I can generalise the reason to your case too :-)! The FoamX and runFoamXHB scripts wont work if the hostname of your linux installation is "localhost" or "localhost.localdomain" So basically, to get past this error, you need to give your machine a name other than the default "localhost" that Linux puts in. One way to change the hostname is to use the command at the command-line: hostname the_new_hostname In my case, this did not work after a reboot, and to make it a permanent change, I had to change the network settings through the "KDE->Administration->Network" interface (I use KDE). If you are also using KDE... you need to enter a host name in the "DNS" tab of the network settings, and in the "Hosts" tab you need to add a new line with: 127.0.0.1 the_new_hostname localhost for the "IP", the "Name" and "Aliases" respectively. And...dont forget to save at the end, and either restart your network layer with: /sbin/service network restart at the command line, or restart the computer. If you are using Gnome, I am sure there is an equivalent method of varying the network settings. Once you are done with the restart...try: ping the_new_hostname and ping localhost and ping 127.0.0.1 If all those three work...then I am fairly sure FoamX will work. Philippose |
Hej Philippose,
I did what yo
Hej Philippose,
I did what you said and I did some changes. I have add the IP address in two files: /etc/hosts and in /etc/resolve.conf and made the link: ln -s hosts /etc/sysconfig/networking/profile/default/hosts but I still recive the same error message. Do you have any idea what I am doing wrong? Thank you for help, Rita |
I am new openfoam-user. I have
I am new openfoam-user. I have just installed Openfoam in my system. While I type FoamX in the console I am getting following message--
Cannot find JDK at /usr/java/jdk1.4. Please set JAVA_PATH to the JDK installation directory. I don't have any idea how to set the JAVA_PATH to the JDK installation directory. It would be great if I get suggestions from you. Thanks in Advance. -- Faroque |
Hej Philippose,
I did what yo
Hej Philippose,
I did what you said and I did some changes. I have add the IP address in two files: /etc/hosts and in /etc/resolve.conf and made the link: ln -s hosts /etc/sysconfig/networking/profile/default/hosts but I still recive the same error message. Do you have any idea what I am doing wrong? Thank you for help, Rita |
sous bash (+linux)
export J
sous bash (+linux)
export JAVA_PATH=/usr/local/... en fait l'endroit ou tu as detarre le java disponible sur le site d'openfoam... Sinon consulte un ingenieur systeme... bonne chance... |
excuse for the french... I am
excuse for the french... I am a little tired I think...
export JAVA_PATH=/usr/local/... more exactly where you have unpacked j2sdk1.4.2_05.linux.tgz you also seem to be a new linux user... (try to find a introduction to linux somewhere to learn what environnement variable are...etc...) Sincerely... |
Erroe in JAVA_PATH to the JDK installation directory
Dear foamers,
i try to run Foamx but its shows error like Please set JAVA_PATH to the JDK installation directory, i download and extract this j2sdk1.4.2_05.linux.tgz, please give me idea about this problem. Warm Regards, hhh |
Erroe in JAVA_PATH to the JDK installation directory
Dear foamers,
i try to run Foamx but its shows error like Cannot find JDK at /home/toshiba/OpenFOAM/linux/j2sdk1.4.2_05. Please set JAVA_PATH to the JDK installation directory, i already download and extract this j2sdk1.4.2_05.linux.tgz, please give me idea about this problem. Warm Regards, hhh |
Greetings hhh,
Before continuing, please read the following section: The FoamX case manager @ openfoamwiki.net If you truly want revive/resurrect FoamX, please start a new thread here: http://www.cfd-online.com/Forums/openfoam-installation/ If you want to work with or help develop more modern GUIs for OpenFOAM, search for Discretizer and enGrid: http://openfoamwiki.net/index.php/GUI Best regards, Bruno |
All times are GMT -4. The time now is 06:53. |