|
[Sponsors] |
/usr/bin/ld: cannot find -llagrangianTurbulence /usr/bin/ld: cannot find -lfluidTherm |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 13, 2015, 18:22 |
/usr/bin/ld: cannot find -llagrangianTurbulence /usr/bin/ld: cannot find -lfluidTherm
|
#1 |
New Member
Luis
Join Date: Jan 2015
Posts: 2
Rep Power: 0 |
Hi,
When I try to compile my solver with wmake the next error appears: /usr/bin/ld: cannot find -llagrangianTurbulence /usr/bin/ld: cannot find -lfluidThermophysicalModels Do somebody knows where can these libraries be found? Thank you. |
|
November 14, 2015, 11:06 |
|
#2 |
Senior Member
|
Hi,
They should be in $FOAM_LIBBIN (the value depends on where OpenFOAM is installed, what compiler/OS you are using) folder. |
|
March 30, 2016, 09:48 |
|
#3 | |
New Member
Xiaoqiu HE
Join Date: Mar 2016
Location: Wuhan, China
Posts: 29
Rep Power: 10 |
Hi~
Would you please tell me how to add this path to the system's default compile search path? I have a prompted error: Quote:
Thank you! |
||
March 30, 2016, 10:18 |
|
#4 | |
Senior Member
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 21 |
Quote:
Code:
LD_LIBRARY_PATH=$FOAM_LIBBIN:$LD_LIBRARY_PATH |
||
March 30, 2016, 10:38 |
|
#5 | ||
New Member
Xiaoqiu HE
Join Date: Mar 2016
Location: Wuhan, China
Posts: 29
Rep Power: 10 |
Thank you very much for your response!
I have checked the my ~/.bashrc , the last line was Quote:
Quote:
I will also update the situation. Thank you very much for your help! |
|||
March 30, 2016, 10:49 |
|
#6 | |
New Member
Xiaoqiu HE
Join Date: Mar 2016
Location: Wuhan, China
Posts: 29
Rep Power: 10 |
Quick Update~
I still have these prompted error Quote:
|
||
March 30, 2016, 11:12 |
|
#7 | |
Senior Member
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 21 |
Firstly, what operating system are you using? As I must mention that my knowledge resides within Linux.
--- Can you post the output of the following command: Code:
echo -e ${LD_LIBRARY_PATH//:/\\n} && echo "" && echo "$FOAM_LIBBIN" If correct, the very last line shown (i.e. $FOAM_LIBBIN) should be contained within the printed list (i.e. $LD_LIBRARY_PATH). --- Also make sure that $FOAM_LIBBIN actually has the libraries you need. You can test this using: Code:
find $FOAM_LIBBIN -iname "*finitevolume*" find $FOAM_LIBBIN -iname "*meshtools*" Quote:
|
||
March 30, 2016, 22:28 |
|
#8 | |||
New Member
Xiaoqiu HE
Join Date: Mar 2016
Location: Wuhan, China
Posts: 29
Rep Power: 10 |
Thank you very much! As a starter of Linux, your advice and thoughts about the problem shed light on the knowledge that I should learn~
The OS I am using is ubuntu 15.10; Basing on your suggestion, the first thing I check is the real path of my $FOAM_LIBBIN, I check it as following Quote:
Quote:
Then I try to search the finiteVolume and meshTools lib in this path, I get: Quote:
I am really confused. Should I reinstall the OpenFOAM as the tricks of Windows? Thank you! |
||||
March 30, 2016, 22:56 |
|
#9 | ||
New Member
Xiaoqiu HE
Join Date: Mar 2016
Location: Wuhan, China
Posts: 29
Rep Power: 10 |
Quick Update!
The problem is solved! I have made a very very stupid mistake! In my project's Make/files, once it was like these Quote:
Quote:
Thank you floquation, for your precious time and advice on my problem! |
|||
May 2, 2016, 01:54 |
/usr/bin/ld:
|
#10 |
Member
Zhiheng Wang
Join Date: Mar 2016
Posts: 72
Rep Power: 10 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFoam171: error /usr/bin/ld: cannot find -llduSolvers | Schipper | OpenFOAM Programming & Development | 9 | August 26, 2020 06:31 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 13:38 |
/usr/bin/ld: cannot find -lincompressibleRASModels (OF-1.7.x) | kumar | OpenFOAM Installation | 6 | March 17, 2011 03:29 |
Allwmake error: /usr/bin/ld: cannot find -lautoMesh | ranas | OpenFOAM Bugs | 2 | August 3, 2009 22:55 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 21:30 |