CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

READLINELINK needs lcurses

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2007, 20:17
Default When compiling OpenFOAM 1.4.1
  #1
New Member
 
Greg Collecutt
Join Date: Mar 2009
Location: Brisbane, Queensland, Australia
Posts: 21
Rep Power: 17
gcollecutt is on a distinguished road
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.
gcollecutt is offline   Reply With Quote

Old   August 8, 2007, 09:35
Default On our SuSE machines the readl
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
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.
henry is offline   Reply With Quote

Old   August 8, 2007, 18:57
Default Henry, on my FC5 I have both a
  #3
New Member
 
Greg Collecutt
Join Date: Mar 2009
Location: Brisbane, Queensland, Australia
Posts: 21
Rep Power: 17
gcollecutt is on a distinguished road
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.
gcollecutt is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On



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