link的问题# Unix - 噫吁兮,危乎高哉
M*n
1 楼
【 以下文字转载自 Linux 讨论区 】
发信人: MildSeven (七星*极夜), 信区: Linux
标 题: link的问题
发信站: BBS 未名空间站 (Sat Nov 5 16:40:47 2005), 转信
用intel fortran compiler编译一个程序:
ifort -O2 -L/usr/lib -larpack -llapack -lblas -lg2c Migration.o -o
migration.out
出错信息:
IPO link: can not find -larpack
IPO link: can not find -llapack
IPO link: can not find -lblas
IPO link: can not find -lg2c
IPO Error: unresolved : dsaupd_
Referenced in eigen_spectrum.o
ld: cannot find -larpack
可是那些库文件都在/usr/lib/里呀:
$ ls /usr/lib/libarpack.
发信人: MildSeven (七星*极夜), 信区: Linux
标 题: link的问题
发信站: BBS 未名空间站 (Sat Nov 5 16:40:47 2005), 转信
用intel fortran compiler编译一个程序:
ifort -O2 -L/usr/lib -larpack -llapack -lblas -lg2c Migration.o -o
migration.out
出错信息:
IPO link: can not find -larpack
IPO link: can not find -llapack
IPO link: can not find -lblas
IPO link: can not find -lg2c
IPO Error: unresolved : dsaupd_
Referenced in eigen_spectrum.o
ld: cannot find -larpack
可是那些库文件都在/usr/lib/里呀:
$ ls /usr/lib/libarpack.