Page 1 of 1

undefined symbol: __libm_feature_flag

Posted: Thu Mar 18, 2021 11:21 am
by rohankumar29
kwerner wrote:
Tue Sep 04, 2018 9:08 pm
Thanks for sending those. Okay, it's likely that you need to set the ungrib libraries in your LD_LIBRARY_PATH. For example, if using csh:

setenv LD_LIBRARY_PATH full_path_to_libraries/Build_WRF/LIBRARIES/grib2/lib:$LD_LIBRARY_PATH

and then ungrib should be able to locate the necessary libraries to run. Let me know if that works. Thanks!
Hi I am facing a similar problem. while executing ./ungrib.exe following error comes
symbol lookup error: ./ungrib.exe: undefined symbol: __libm_feature_flag

The compilation went well, and all the executables are produced. However, I don't have any folder called ungrib2 in my libraries. . It would be really helpful if you look into the problem. Thanks

Regards
rohan

Re: undefined symbol: __libm_feature_flag

Posted: Thu Mar 18, 2021 8:36 pm
by kwerner
Hi Rohan,
I've moved your inquiry to a new topic, as it's not the same as the errors the other users were getting. I've seen this error previously when libraries/compilers and/or paths were updated on the system. The first thing I would recommend is to simply recompile your WPS executables and see if that makes any difference. If not, try to follow these procedures to build WPS. If that still results in a failure, please send your compile log and configure.wps files. Thanks!