CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   READLINELINK needs lcurses (http://www.cfd-online.com/Forums/openfoam-bugs/62563-readlinelink-needs-lcurses.html)

gcollecutt August 7, 2007 20:17

When compiling OpenFOAM 1.4.1
 
When compiling OpenFOAM 1.4.1 on Linux 2.6.19-1.2288.2.4.fc5 x86-64, linking of setSet failed due to unresolved references in libreadline.so. I found these functions in libcurses.so. In applications/utilities/mesh/manipulation/Optional/Allwmake I added -lcurses to the READLINELINK macro and it resolved the problem.

henry August 8, 2007 09:35

On our SuSE machines the readl
 
On our SuSE machines the readline library automatically includes libncurses but it doesn't hurt to include -lncurses in the READLINELINK macro so I will do so for the next release.

gcollecutt August 8, 2007 18:57

Henry, on my FC5 I have both a
 
Henry, on my FC5 I have both a libcurses.so and a libncurses.so. I just tried -lncurses in the READLINELINK macro and it also worked fine.


All times are GMT -4. The time now is 20:57.