CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Installation

libOSSpecific.o does not compile on Arch Linux

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

LinkBack Thread Tools Display Modes
Old   April 17, 2012, 05:04
Default libOSSpecific.o does not compile on Arch Linux
Senior Member
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 13
AlmostSurelyRob will become famous soon enough
Dear All,

I have compiled OpenFOAM from sources on Arch Linux. However, I had a small issue and I have little confidence in the workaround I have applied.

After the first compilation I had many errors of the following type:

/usr/bin/ld: cannot find -lOpenFOAM
This is common and the error should go away on the second compilation. This was not happening.

After applying wmake on certain directories I figured out that libOSSpecific.o was missing.

What I did eventually was to copy this file from my "working" OF distribution into $FOAM_LIBBIN. The previous file was compiled on the same machine but on a different system.

My question is why did I have to do it? Why libOSSpecific.H did not compile? Is it a missing dependency? If you could provide me with some hints or references. I am a little worried that I copied an OS specific file from a different system to work on my current system.
AlmostSurelyRob is offline   Reply With Quote

Old   April 17, 2012, 05:07
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,969
Blog Entries: 34
Rep Power: 92
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Robert,

Apparently you're having the same problem described here: Compilation error with OpenFOAM 2.1.x

Best regards,
wyldckat is offline   Reply With Quote


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
How to compile OpenFOAM-1.7.x on CrunchBang linux 10 gwierink OpenFOAM Installation 0 April 5, 2011 04:38
Dual Boot Windows and Linux and Go Open Source andyj Main CFD Forum 2 October 21, 2010 16:49
PV3FoamReader compile error.... PEM_GUY OpenFOAM Installation 6 April 5, 2010 17:22
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 22:51
OpenFOAM installation problem on Linux 32bit kumar OpenFOAM Installation 0 April 27, 2007 05:41

All times are GMT -4. The time now is 15:28.