nlopt
nlopt copied to clipboard
Runtime undefined symbol: nlopt_get_errmsg
I am receiving a symbol lookup error (undefined symbol: nlopt_get_errmsg) at runtime. I have tried LN_NELDERMEAD, LD_MMA, and LD_CCSAQ and have received the error with each. Each algorithm is able to complete successfully when run once. The error is thrown when the algorithm is run inside a Monte Carlo routine after a varying number of Monte Carlo steps. It seems like a linking issue but I can't track it down. I am compiling using g++ -lnlopt -lm on Debian Linux. Any suggestions would be appreciated.
Thanks. -Frank