CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Error opening FoamX (https://www.cfd-online.com/Forums/openfoam-pre-processing/62084-error-opening-foamx.html)

robbo March 14, 2008 09:39

Hi all, I've installed Open
 
Hi all,

I've installed OpenFOAM without problems and the installation test was OK.
I've tried to run FoamX and (after some errors about some missing libraries, solved with some ln-s ;-)) now that is what i have when I try to launch foamX:

[Robbo@localhost ~]$ FoamX
Starting NameServer with inet:localhost.localdomain:1234 ...
Starting FoamX Host Browser with inet:localhost.localdomain:1234 ...
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : FoamXHostBrowser
Date : Mar 14 2008
Time : 15:14:29
Host : localhost.localdomain
PID : 5376
Root :
Case :
Nprocs : 1
HostBrowser running.....
Setting LANG to en_EN
Using jar /home/Robbo/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/preProcessing/FoamX/l ib/FoamX.jar
Using jar /home/Robbo/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/preProcessing/FoamX/l ib/jlfgr-1_0.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/Robbo/OpenFOAM/linux64/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/Robbo/OpenFOAM/OpenFOAM-1.4.1/bin/runFoamXHB: line 139: 5376 Killed FoamXHostBrowser -ORBNamingAddr $myIOP
runFoamXHB : cleanup
runFoamXHB: Killing name server nsd(pid 5352).
/home/Robbo/OpenFOAM/OpenFOAM-1.4.1/bin/runFoamXHB: line 66: 5352 Killed nsd -ORBIIOPAddr $myIOP --ior $FOAMX_CONFIG/ns.ref < /dev/null


Anyone knows how can I do? I'm using fedora 8 with a x86_64 processor.
Thanks in advance for your help

robbo March 14, 2008 09:54

I've tried to install the libX
 
I've tried to install the libXp package but it had no effect and the error message remains the same.
I've tried to do a symbolic link but I don't manage to find libXp.so.6 anywhere in my hard disk, even if yum says me to have installed the package correctly!

Any ideas?
Thanks


All times are GMT -4. The time now is 07:13.