CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   libOSSpecific.o does not compile on Arch Linux (

AlmostSurelyRob April 17, 2012 05:04

libOSSpecific.o does not compile on Arch Linux
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.

wyldckat April 17, 2012 05:07

Greetings Robert,

Apparently you're having the same problem described here:

Best regards,

All times are GMT -4. The time now is 04:45.