CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

Error while compiling FoamX related applications

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 7, 2008, 13:21
Default When I run FoamX I receive an
  #1
New Member
 
Geoff Johnson
Join Date: Mar 2009
Location: Burnaby, BC, Canada
Posts: 11
Rep Power: 8
geoffjay is on a distinguished road
When I run FoamX I receive an error saying that it can't find FoamXHostBrowser, which FoamXHostBrowser confirms this so I've tried to recompile the source in the directory ~/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/preProcessing/FoamX/C++ and I get the following error output:

/Allwmake
+ case $WM_ARCH in
+ CMD='wmake libso'
+ cd FoamXServer
+ wmake libso
`/apps/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libFoamXServer.so' is up to date.
+ cd FoamXLib
+ wmake libso
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make: *** [/apps/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libFoamX.so] Error 1
+ cd FoamXHostBrowser
+ wmake
g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/apps/OpenFOAM/OpenFOAM-1.4.1/src/mico-2.3.12/platforms/linux64GccDPOpt/includ e -Wno-old-style-cast -I../FoamXLib/lnInclude -I../FoamXServer -IlnInclude -I. -I/apps/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC Make/linux64GccDPOpt/FoamXHostBrowser.o Make/linux64GccDPOpt/IHostBrowserImpl.o -L/apps/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt \
-lFoamX -lFoamXServer -L/apps/OpenFOAM/OpenFOAM-1.4.1/src/mico-2.3.12/platforms/linux64GccDPOpt/lib -lmicocoss2.3.12 -lmico2.3.12 -lssl -lcrypto -ldl -lpthread -lOpenFOAM -liberty -ldl -lm -o /apps/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/FoamXHostBrowser
/usr/bin/ld: cannot find -lFoamX
collect2: ld returned 1 exit status
make: *** [/apps/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/FoamXHostBrowser ] Error 1

(... error output continues but is similar for the other applications in the directory)

My system is SuSE 10.1 x86_64, and according to foamInstallationTest everything is correct with my installation.

Does anyone know where I should look? At one point the error says "cannot find -lFoamX", does this mean another part of of my Foam installation is incomplete?
geoffjay is offline   Reply With Quote

Old   May 7, 2008, 17:11
Default Hello, > /usr/bin/ld: canno
  #2
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 330
Rep Power: 13
mbeaudoin will become famous soon enough
Hello,

> /usr/bin/ld: cannot find -lssl

You are missing a library called libssl.

You need this library in order to link an application based on Mico/Corba. Encryption is part of the communication layer of Corba, so you need to have the dev package for libopenssl on your system.

On my SuSE 10.3 x86_64 system, libssl.a is provided by the following RPM: libopenssl-devel-0.9.8e-45.5.

Martin
mbeaudoin is offline   Reply With Quote

Old   May 7, 2008, 19:43
Default Argh. Thanks. I didn't even se
  #3
New Member
 
Geoff Johnson
Join Date: Mar 2009
Location: Burnaby, BC, Canada
Posts: 11
Rep Power: 8
geoffjay is on a distinguished road
Argh. Thanks. I didn't even see that error message. I feel a little silly now.
geoffjay is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors when Compiling UDF: error C2040/error C2099 Julian K. FLUENT 1 December 21, 2008 01:23
Unusual memory related error ReeKo CFX 7 September 30, 2008 19:11
FoamX error lawrencelkl OpenFOAM Installation 5 May 23, 2008 01:29
FoamX canbt find applications ingaerme OpenFOAM Pre-Processing 8 December 12, 2006 15:56
Problem related to the Error: General-car-0cdr wei wang FLUENT 0 May 7, 2005 03:03


All times are GMT -4. The time now is 19:52.