c++ - cmake linking error with lapack (undefined symbol: dgeev_) -
i have cmake project linked lti (in .a) linked lapack , try compile it, undefined symobls when running ldd -r on resulting .so:
undefined symbol: dgeev_ (/home/sup-ubuntu/.sup_plugins/libsupprocessparametrablef2ftrackingplugin.so) undefined symbol: sgeev_ (/home/sup-ubuntu/.sup_plugins/libsupprocessparametrablef2ftrackingplugin.so)
i have checked installed liblapack-dev (my system ubuntu 12.04 64 bits) , libblas-dev. have tried several methods in cmake, none of worked :
set(cmake_cxx_flags "${cmake_cxx_flags} -llapack -lblas" )
or
find_package( lapack required )
it seems that:
sup-ubuntu@sup-ubuntu12:/usr/lib$ nm liblapack.so | grep sgeev_ nm: liblapack.so: no symbols
and
sup-ubuntu@sup-ubuntu12:/usr/lib$ nm liblapack.a | grep sgeev_ 0000000000000000 t sgeev_
so mean should link statically liblapack.a? how can cmake?
i appreciate or ideas, have looked answers nothing find helped...
sonia
Comments
Post a Comment