Problems compiling OF solvers
I've been attempting to compile v1.5 from source on suse 11.1 using the system compiler, but I have been having a strange issue. I managed to compile the /src directory fine with no errors. However, I'm now trying to compile the applications/solvers directory and every one gives me the same error (see below). It claims it can't find any of the shared libraries, although I am sure they are being linked in (and they do exist in /home/adriano/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt )
try gcc -print-search-dirs
If the path you mentioned isn't in that list it cannot find the libraries.
you have remembered to change the bashrc and setup.sh accordingly to be able to use the system compiler?
if all other fails add this to your .bashrc.
If this doesn't work I'm out of ideas
linneman, that has solved the problem. I didn't realise there were special settings when using the system compiler, but adding it to LD_LIBRARY_PATH has worked a treat.
Thank you for your help! :-)
|All times are GMT -4. The time now is 19:27.|