我正在尝试在雪豹上安装Shogun Toolbox。 通过MacPorts,我收到以下一组错误:
info:build Undefined symbols for architecture x86_64:
:info:build "_drot_", referenced from:
:info:build _dbdsqr_ in liblapack.a(dbdsqr.o)
:info:build "_dswap_", referenced from:
:info:build _dbdsqr_ in liblapack.a(dbdsqr.o)
:info:build _dsteqr_ in liblapack.a(dsteqr.o)
:info:build (maybe you meant: _ATL_dswap_xp0yp0aXbX)
:info:build "__gfortran_concat_string", referenced from:
:info:build _dgesvd_ in liblapack.a(dgesvd.o)
:info:build _dormbr_ in liblapack.a(dormbr.o)
:info:build _dormqr_ in liblapack.a(dormqr.o)
:info:build _dormlq_ in liblapack.a(dormlq.o)
:info:build "_dgemm_", referenced from:
还有更多,但它们之间的共同点是对liblapack.a
的引用。 我不知道为什么这会失败。 我安装了LAPACK,希望它会消失,但这并没有发生。
另外,尽管安装了pkg-config
,但当我从源代码配置Shogun时,它会挂断电话,告诉我我没有安装pkg-config
。
帮助!
答案与 lapack 完全无关。 解决方案不是使用MacPorts,从幕府将军网站下载的源代码构建,然后编辑PYTHONPATH
以包含幕府将军安装目录。 脸掌